daniel1
❔ for is tough
On sports day, the students compete in the high jump.
Write a program that accepts as input the name of each student and the result of their jump.
The output of the program is the name of the student who jumped the highest and his jump result, the name of the student who jumped the lowest and his jump result, and the difference between the two jumps.
43 replies
tough homework 4
The school management held a poll on the readiness of the students to go on a trip.
Each of the 200 school students had to answer a questionnaire and indicate y if they were ready to go on a trip or n if they were not ready to go on a trip.
Write a program that takes the answers of the students and in addition you have to check whether the number of these students is a majority or not.
An appropriate message must be displayed.
40 replies
tough homework 3
Roy and Tal are playing basketball. During the season there are 10 games. Write a program that captures the number of points scored by each of them in each of the 10 games and displays as output:
A. For each of the games the player who scored more points.
B. the total points of both players together.
42 replies
❔ tough homework 2
"
A series of random numbers is called "balanced" when the amount of positive numbers in the series is equal to the amount of negative numbers in it.
Write a receiving program that generates and displays a series of 30 random integers from the domain 20- to 20.
The program must check whether the series is a balanced series or not.
An appropriate message must be displayed."
34 replies