CJCoding With Joseph
15free / daySign inCreate account
TitleOpen
49
Even or Odd CheckRead an integer, then use an if/else statement to print whether it is even or odd.
easyNot startedSolve
50
Positive, Negative, or ZeroRead an integer, then use an if / else if / else chain to print whether it is 'Positive', 'Negative', or 'Zero'.
easyNot startedSolve
51
Larger of Two NumbersRead two integers, then print the larger of the two.
easyNot startedSolve
52
Smaller of Two NumbersRead two integers, then print the smaller of the two.
easyNot startedSolve
53
Adult or MinorRead an age (an integer).
easyNot startedSolve
54
Pass or FailRead a test score (an integer).
easyNot startedSolve
55
Equal or Not EqualRead two integers.
easyNot startedSolve
56
Voting EligibilityRead an age.
easyNot startedSolve
57
Multiple of 3Read an integer.
easyNot startedSolve
58
In Range 1 to 100Read an integer.
easyNot startedSolve
59
Hot or NotRead a temperature (an integer in Celsius).
easyNot startedSolve
60
Vowel or NotRead a single lowercase letter.
easyNot startedSolve
61
Affordable or Too ExpensiveRead a price (an integer).
easyNot startedSolve
62
Divisible by 5Read an integer.
easyNot startedSolve
63
Is It ZeroRead an integer.
easyNot startedSolve
64
Both EvenRead two integers.
easyNot startedSolve
206
Even or OddRead a single whole number from the keyboard and decide whether it is even or odd.
easyNot startedSolve
207
Positive, Negative, or Zero (Practice)Read one integer and report its sign.
easyNot startedSolve
208
Larger of Two Numbers (Practice)Read two integers separated by a space and print the larger of the two.
easyNot startedSolve
209
Pass or Fail (Practice)An exam is graded on a scale from 0 to 100.
easyNot startedSolve
210
Voting Eligibility (Practice)In this country a person can vote once they are 18 years old or older.
easyNot startedSolve
211
Divisible by ThreeThis program uses a fixed value instead of reading input.
easyNot startedSolve
212
Which City Is WarmerTwo temperatures are stored in fixed variables: cityA is 15 and cityB is 22.
easyNot startedSolve
321
Uppercase or Lowercase LetterRead a single letter from input with scanf.
easyNot startedSolve
322
Traffic Light ActionRead a single character standing for a traffic light color: R, Y, or G.
easyNot startedSolve
323
Absolute ValueAn integer n = -7 is given.
easyNot startedSolve
324
Positive and EvenRead an integer with scanf.
easyNot startedSolve
325
Discount EligibilityRead a purchase total (an integer) with scanf.
easyNot startedSolve
326
Is a Digit CharacterRead a single character with scanf.
easyNot startedSolve
327
Divisible by 4 and 6Read an integer with scanf.
easyNot startedSolve
328
Sort Two Numbers AscendingRead two integers with scanf.
easyNot startedSolve
329
Speeding TicketThe speed limit is 60.
easyNot startedSolve
330
Sign of a ProductRead two integers with scanf and consider their product.
easyNot startedSolve
331
Login LockoutRead the number of failed login attempts (an integer) with scanf.
easyNot startedSolve
332
Sum Is EvenRead two integers with scanf.
easyNot startedSolve
333
Reached One HundredRead an integer score with scanf.
easyNot startedSolve
65
Letter GradeRead a test score (0-100).
mediumNot startedSolve
66
Largest of ThreeRead three integers, then print the largest of the three.
mediumNot startedSolve
67
Leap YearRead a year (an integer).
mediumNot startedSolve
68
Valid TriangleRead three positive integers representing side lengths.
mediumNot startedSolve
69
Quadrant FinderRead two integers, x and y, representing a point.
mediumNot startedSolve
70
Ticket Price by AgeRead an age, then print the ticket category: - under 5: 'Free' - 5 to 17: 'Child' - 18 to 64: 'Adult' - 65 or older: 'Senior'
mediumNot startedSolve
71
FizzBuzz for One NumberRead an integer.
mediumNot startedSolve
72
Weekday or WeekendRead a day number from 1 to 7 (1 = Monday ...
mediumNot startedSolve
73
Shipping Cost by WeightRead a package weight in kilograms (an integer).
mediumNot startedSolve
213
Letter Grade (Practice)Convert a numeric exam score (0 to 100) into a single letter grade using these boundaries: 90 and above is A, 80 to 89 is B, 70 to 79 is C, 60 to 69 is D, and anything below 60 is F.
mediumNot startedSolve
214
Largest of Three NumbersRead three integers separated by spaces and print the largest of the three.
mediumNot startedSolve
215
Leap Year CheckA year is a leap year if it is divisible by 4, except that years divisible by 100 are not leap years unless they are also divisible by 400.
mediumNot startedSolve
334
Water State by TemperatureRead a temperature in Celsius (an integer) with scanf.
mediumNot startedSolve
335
Same Sign CheckRead two nonzero integers with scanf.
mediumNot startedSolve
336
Days in a MonthRead a month number from 1 to 12 with scanf and print how many days it has (treat February as 28, ignoring leap years).
mediumNot startedSolve
337
Grade to GPARead a letter grade character (A, B, C, D, or F) with scanf and print the matching GPA to one decimal place using %.1f, with no trailing newline: A -> 4.0, B -> 3.0, C -> 2.0, D -> 1.0, F -> 0.0.
mediumNot startedSolve
338
Compass DirectionRead a single direction letter (N, E, S, or W) with scanf and print the full direction name with no trailing newline: N -> North, E -> East, S -> South, W -> West.
mediumNot startedSolve
339
Day of the Week NameRead a day number from 1 to 7 with scanf and print its name with no trailing newline, where 1 is Monday and 7 is Sunday: 1 -> Monday, 2 -> Tuesday, 3 -> Wednesday, 4 -> Thursday, 5 -> Friday, 6 -> Saturday, 7 -> Sunday.
mediumNot startedSolve
340
Membership PriceRead two integers with scanf: a price, then a membership flag (1 for member, 0 for non-member).
mediumNot startedSolve
341
Fever CheckRead a body temperature in Celsius as a decimal number using scanf("%f", ...).
mediumNot startedSolve
342
Largest of Four NumbersRead four integers with scanf and print the largest of them, with no trailing newline.
hardNot startedSolve
343
BMI CategoryRead a weight in kilograms and a height in meters, both as decimals, using scanf("%f %f", ...).
hardNot startedSolve
344
Rock Paper Scissors WinnerRead two characters with scanf(" %c %c", ...) for player 1 and player 2.
hardNot startedSolve
345
Middle of Three NumbersRead three integers with scanf and print the middle one (the median: not the largest and not the smallest), with no trailing newline.
hardNot startedSolve