CJCoding With Joseph
15per day
TitleTopicsAction
1
Age VariableUsing an integer, create a variable to hold your age (use any age value you'd li...
easy○ Not Started
Printing
Solve
2
New Line CharacterUse the newline escape sequence \n in one printf statement to display the follow...
easy○ Not Started
Printing
Solve
3
Printf String VariableCreate a char array (string) with the value "Alice" and use printf with %s to di...
easy○ Not Started
Printing
Solve
4
Character OutputCreate a char variable with the value '#' and use printf with %c to display it i...
easy○ Not Started
Printing
Solve
5
Integer OutputCreate an int variable with the value 100 and use printf with %d to display it i...
easy○ Not Started
Printing
Solve
6
Multiple VariablesCreate a char array with the value "Sarah" and an int variable with the value 22...
easy○ Not Started
Printing
Solve
7
Float Two DecimalsCreate a float variable with the value 9.8765f. Use printf with %.2f to display:...
easy○ Not Started
Printing
Solve
8
Mixed Escape SequencesUse one printf statement with both \n and \t to display the following formatted ...
medium○ Not Started
Printing
Solve
9
Subtraction EquationCreate two integer variables with the values 15 and 8. Use one printf statement ...
medium○ Not Started
Printing
Solve
10
Product with FloatCreate an int variable with the value 5 and a float variable with the value 2.5f...
medium○ Not Started
Printing
Solve
11
Float Three DecimalsCreate a float variable with the value 12.34567f. Use printf with %.3f to displa...
medium○ Not Started
Printing
Solve
12
Receipt FormattingCreate three float variables: price1 = 12.99f, price2 = 8.50f, and price3 = 15.2...
medium○ Not Started
Printing
Solve
13
Zero PaddingCreate four integer variables with the values 5, 42, 156, and 1003. Use printf t...
medium○ Not Started
Printing
Solve
14
Temperature ConversionCreate a float variable for Fahrenheit temperature with the value 98.6f. Convert...
medium○ Not Started
Printing
Solve
15
Complex Product DisplayCreate variables: char item[] = "Laptop", int quantity = 3, float price = 899.99...
medium○ Not Started
Printing
Solve