Upload
skyyyeisthebest
View
2
Download
0
Embed Size (px)
DESCRIPTION
e
Citation preview
7/17/2019 1
http://slidepdf.com/reader/full/1563db8ad550346aa9a95e4f1 1/2
--------------FORMAT----------------
Margin TBRL = 1 inchFont Style = Arial
Font Size = 12Line Spacing 1GREEN paper orocco !hort"EA"L#NE$ A%G%ST 1&' 2(1)
------------*ONTENT----------------
#ncl+,e rogra "e!cription#ncl+,e *oent!o!!i.le rogra!
1/ Matheatical *op+tation! 02/ Siple i 0/ # el!e 0)/ or loop 00/ 3hile loop 04/ ,o 3hile loop 0
SAMPLE CONTENT
A/ MAT5EMAT#*AL *OM%TAT#ON1/ A progra that 3ill cop+te the !+ o t3o inp+tte, integer!/
*O"E
#include <stdio.h> //header file for printf and scanf #include<conio.h>//main()//{Int x, y, sum;// variale declaration section.!eclares x and yclrscr();//erase the previous outputprintf("his pro$ram %ill compute the sum of a t%o inputted inte$ers& ');//displays thestrin$printf("nnter inte$er *& ');//prompts the userto input a value for first va
scanf("+d&,x);printf("nnter inte$er -& ');scanf("+d&,y);sum xy;printf("the sum of +d +d is +d',x,y,sum);$etch();0