Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i need help getting the output format correct on this problem Write a program that asks for a student's name, their ID number, three assignment

i need help getting the output format correct on this problem
image text in transcribed
Write a program that asks for a student's name, their ID number, three assignment grades and two exam grades. Assignments are worth 40% of a student's grade and exams are worth the remaining 60% of their grade. Once the user has entered all the information, provide an output that contains all the information and the overall class grade for the student. The output should be formatted in a tabular format similar to the sample output below. Note given grades are of integer type while the overall class grade is a decimal that can be considered to be "rounded" to establish the final grade. Please enter the student's tirst nane and last nase. Notc, if your average grade Jing chen is showing up as 84.4 then Please enter the student's ID number (numbers only). you have not appropriately 123456 declared your variables for Please onter the scores that the student earned for essignnents 13 your calculations. Please enter the scores that the student earned for oxams 1 s 2 788 Remember: Use the appropriate output formatting commands to Welcooe to oradebook properly align your output 5tudent Name: Jing Chan (these are not the escape Student ID: 123456 sequences)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions