what code I'll write?
Based on this statement what code should I write? this is just a attendance test
"Macky is a fourth-year Information Technology student who is an aspirant Cum Laude. During his last term of schooling, he monitors his Midterm Grades taken from the seven subjects which have ratings of 95, 94, 97, 90, 93, 92, and 91. Your task is to create a program that will input Macky's ratings and display the smallest grade that he has. Be sure to use the correct inputs properly to satisfy the given condition."
SAMPLE OUTPUT:
Enter first grade: 95
Enter second grade: 94
Enter third grade: 97
Enter fourth grade: 90
Enter fifth grade: 93
Enter sixth grade: 92
Enter seventh grade: 91
The smallest grade is 90.
3 Replies
⌛
This post has been reserved for your question.
Hey @Dosage! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
import java.util.Scanner;
This message has been formatted automatically. You can disable this using
/preferences
.💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.