10 for t = 1 to 50
20 input a
30 c = c + a
40 next t
50 print c
10 sum = 0
20 for n = 1 to 10: input x: sum = sum + x
30 next: print sum: end
#include<stdio.h> #include<conio.h> void main() { int num[25]; int i,j,k=0; for(i=0;i<=24;i++) { printf("Enter numbers : "); scanf("%d",&num[i]); } printf("\nEnter the number to be searched : "); scanf("%d",&j); printf("\nthe is %d",j); for(i=0;i<=24;i++) { if(num[i]%j==0) k=k+1; } printf("\nIt is repeated %d times."k); }
This site is not for home-works.
#include<stdio.h> #include<conio.h> int main () { int num; printf("enter the number"); scanf("%d",&num); if(num<0) num=(-1)*num; printf("absolute value=%d",num); getch(); return 0; }
We use these to make ur project respond through the keyboard
# include <stdio.h> # include <conio.h> int main () { char a; printf("Enter the number"); scanf("%c", &a); (a>=97 && a<=122)? printf("\n\nIt is a lower case alphabet"):printf("\n\nIt is not a lower case alphabet"); getch(); getch();}
Through any external device. A keyboard, a mouse, a flash drive, a cd etc
why automatic type data when type through keyboard in computer
nine seven two
#include<stdio.h> #include<conio.h> void main() { int num[25]; int i,j,k=0; for(i=0;i<=24;i++) { printf("Enter numbers : "); scanf("%d",&num[i]); } printf("\nEnter the number to be searched : "); scanf("%d",&j); printf("\nthe is %d",j); for(i=0;i<=24;i++) { if(num[i]%j==0) k=k+1; } printf("\nIt is repeated %d times."k); }
Keyboard entry is when data is entered through a keyboard whereas Direct entry does not require data to be keyed by someone. Instead the direct entry devices create machine-readable data and feed it directly into the CPU. This reduces the possibility of human error and is an economical means of data entry.
Light entered Egyptian temples through a CLERESTORYwindow.
the keyboard enable the user to communicate with the computer through typying of(input of data).
No.
A keyboard is an input device. Below the keys is a key matrix, or circuit board. When you press a key you complete the circuit for that key. They keyboard then sends the information either through a wire or wirelessly to the computer. The computer then takes the information and decides how to use it. Depending on the Operating system or running applications the computer decides how to use the information.
lolx because he has to fill his application form of Integrated programme in IIM Indore :P
through keyboard
through injuries and your mouth.