1. #include<stdio.h>
2. #include<conio.h>
3. void main()
4. {
5. int i,ar[5];
6. clrscr();
7. //i/p in array
8. for(i=0;i<=4;i++)
9. {
10. printf("\nEnter any number : ");
11. scanf("%d",&ar[i]);
12. }
13.
//o/p in array
14. printf("\nArrays elements\t");
15. for(i=0;i<=4;i++)
16. {
17. printf(" %d",ar[i]);
18. }
19. getch();
20. }
|
| Output
|
Computer Science :: 11th/12th, Computer Engineering :: Degree/Diploma, Coding Concept ( C, C++ & JAVA Programming, JDBC Concept, DBMS - SQL Concept, Data Structure, Communication & Network Concept.
1-D ARRAYS INPUT OUTPUT
Subscribe to:
Posts (Atom)
Programmingway@Eklavya Technosys!: Computer Solutions || Class-4 || Computer for Scho...
Programmingway@Eklavya Technosys!: Computer Solutions || Class-4 || Computer for Scho... : 1) Choose correct one :- 1) The step by step pla...
-
COMPUTER TERMINOLOGY 1) TCP/IP - Transmission Control Protocol/ Internet Protocol. 2) HTTP...
-
https://makecode.com/_3VxaMo6c3YPp Code 1) What is Make Code Arcade? Answer: Make Code Arcade is a Block based coding. 2) Writ...
-
1) Choose correct one :- 1) The step by step plan of solution for solving a problem is called ____. a) Algorithm b) Internet c) URL d) M...
-
1) ___ is the response of the receiver after perceiving the message. a) Encoding b) Decoding c) Channel d) Feedback 2) Which of the fo...
-
Check whether the number is negative or positive after taking a number as input from the user. TextWindow . WriteLine ( "Ente...

No comments:
Post a Comment