Question : how to get user input in c
Answered by : arjun-mair
#include <stdio.h>
//this is for storing numbers
int main(){ int age; //this makes a vairable for you to store the value in printf("enter in your age: "); //this prints a prompt for the user scanf("%d", &age); //this takes in the argument given and stores it //into the address of age return 0;
}
Source : | Last Update : Sun, 14 Jun 20
Question : C Output
Answered by : marlon-oquina
#include <studio.h>
int main()
{ // Display the string inside quotations printf("C Programming") return 0;
}
Source : https://www.codegrepper.com/search.php?q=easy%20code%20snag | Last Update : Thu, 10 Mar 22