comment (more than one line possible) // . . . puts text . . . for rest of same line into comment Data Types Data Type integer Declaration (Example) short i1,i2; int i1,i2; long i1,i2; unsigned i1,i2; unsigned long i1,i2; real float f1,f2; double f1,f2; long double f1,f2; single character char c1,c2; string of characters string s1,s2; logical bool b1,b2; Assignment (Example) i1 = 3; f1 = 3.2; f2 = 2.1E-3; c1 = ’R’ s1 = ”Farmer” b1 = true; b2 = false Input And Output Input/Output With Screen: To…
Words 724 - Pages 3