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); }
#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; }
printf(\n "ENTER THE NUMBER\t"); scanf{"%d",&a); while(a!=0); { r=a%2; if(r==0) printf("\n\n THE NUMBER IS EVEN \t"); else printf("\n\n THE NUMBER IS ODD \t"); printf ("\n ENTER THE NUMBER \t"); scanf("%d",&a); } getch(); }
It depends where you entered. If you entered through Israel you would first hit the river Jordan. If you entered through Lebanon you might hit the Litani River, or a number of other rivers that flow into the Mediterranean Sea. If you entered through Syria or Turkey there are a number of small rivers you might hit before you reached the Euphrates.
The pseudo code would be as follows (you figure out the syntax) 1) Prompt the user to enter a number 2) If entered number is alpha, quit program after displaying message that the user ended the program. 3) Otherwise, find Modulo 2 of the entered number. This is a fancy way of saying "find the remainder when the number is divided by 2) 4) If Modulo 2 is zero, the number is even, otherwise odd 5) Display message showing if the entered number was Even or Odd 6) Branch back to step 1
fourth root is sqrt(sqrt(n));
c is programming laungage
It serves to send usually text-based information on the monitor (in currently running application, window), for instance:...int myVariable;cout >> "Please enter a number: ";cin >> myVarible;//You entered number 5cout
The smallest number on the computer keyboard is zero (0)
It's on the far right of the keyboard known as numpad and also there are number keys above the alphabets on your keyboard.
Which of the following is a number that can be entered into a cell?
#include#includevoid main(){long int n;printf("Please enter the number");scanf("%ld" ,&n);n=n*n;printf("Square of entered number = %ld ");}but if you want to show the entered number e.g.Square of the entered number 8=64then below is the code.#include#includevoid main(){long int m,n;printf("Please enter the number");scanf("%ld" ,&n);m=n;n=n*n;printf("Square of entered number %ld = %ld ",m,n);}