Welcome
Terminology
Compiler
Statement
Expression
Variable
Type
Function
Identifier
Cast
Generate a random number
Practice Exercises
Practice Exercise 1 Write a program in which you declare 5 variables, a, b, c, d, e.
Print a, b, and c on 3 separate lines. Print d and e on the same line left-justified in a field of width 10 with 3 decimal place accuracy. Your output should look something like this (except for different random numbers):
|