Access over 20 million homework & study documents

search

INF 231 WEEK 5 DISC 1

Type

Homework

Rating

Showing Page:
1/1
Input means to send value to the processor and output means to get the value printed on
the screen
In C
#include <stdio.h> This is needed to run printf() function
#include<math.h> This is used to input formulas
int main() this is used to put integer value
printf("C Programming"); displays the content inside quotation
In C++
cin is used for input
cout is used for output
Example:
#include <stdio.h> //This is needed to run printf() function.
int main()
{
printf("C Programming"); //displays the content inside quotation
return 0;
}
Output
C Programming

Sign up to view the full document!

lock_open Sign Up
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Anonymous
Great study resource, helped me a lot.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4