Computer Science, asked by reshmikr1981, 9 months ago

write a C program to accept the input from user any 3 numbers and display them back​

Answers

Answered by TheRiskyGuy
1

Answer:

printf("Enter number: "); for(;;) { c = fgetc(stdin); if(c == EOF) {

...

#include <stdio. h>

int main(int argc, char **argv)

{

int number = 0;

printf("Enter a number: ");

scanf("%d", &number);

printf("The number was %d.", number);

return(0);

Similar questions