subject

• Write a program that ask the user for the student name and store it in a list
and ask the user for the age and store it
in a list. Do that for 5 students.
(Sequence & Iteration)

• Add a code to ask the user for test1 and
test2 marks (the mark should be from 0
to 100, otherwise ask the user to enter
a valid mark)then get the total of both
and calculate the average and print the
total and average for the 10 students.
((Sequence, Selection & Iteration)

• If the student got above and equal 90
print "A" if student got less than 90 and
above and equal 80 print "B", if student
got less than 80 and above and equal 70
print "C" else print "weak"

• Change the 5th students age to 17 and
print the names and ages of all
students.

PLEASE HELP ME!!

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 19:00
Now you’re on your own. include a short summary of this section with plots in your lab report. write a matlab script file to do steps (a) through (d) below. include a listing of the script file with your report. 1 the soundsc(xx,fs) function requires two arguments: the first one (xx) contains the vector of data to be played, the second argument (fs) is the sampling rate for playing the samples. in addition, soundsc(xx,fs) does automatic scaling and then calls sound(xx,fs) to actually play the signal. mcclellan, schafer, and yoder, dsp first, 2e, isbn 0-13-065562-7. prentice hall, upper saddle river, nj 07458. c 2015 pearson education, inc. 4 mcclellan, schafer and yoder, signal processing first. prentice hall, upper saddle river, new jersey, 2003. c 2003 prentice hall. (a) generate a time vector (tt) to cover a range of t that will exhibit approximately two cycles of the 4000 hz sinusoids defined in the next part, part (b). use a definition for tt similar to part 2.2(d). if we use t to denote the period of the sinusoids, define the starting time of the vector tt to be equal to t , and the ending time as ct . then the two cycles will include t d 0. finally, make sure that you have at least 25 samples per period of the sinusoidal wave. in other words, when you use the colon operator to define the time vector, make the increment small enough to generate 25 samples per period. (b) generate two 4000 hz sinusoids with arbitrary amplitude and time-shift. x1.t / d a1 cos.2
Answers: 1
question
Computers and Technology, 24.06.2019 02:20
The first time a user launches the powerpoint program, which view is shown allowing the user to access recent presentations or create new presentations based on templates?
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
Which of the following is not a “fatal four” event?
Answers: 2
question
Computers and Technology, 25.06.2019 06:30
How can u permanently delete a picture from your camera ?
Answers: 1
You know the right answer?
• Write a program that ask the user for the student name and store it in a list
and ask the...
Questions
question
Mathematics, 26.05.2021 05:00
question
Mathematics, 26.05.2021 05:00
question
Mathematics, 26.05.2021 05:00
question
Mathematics, 26.05.2021 05:00
question
Mathematics, 26.05.2021 05:00
question
Spanish, 26.05.2021 05:00
question
History, 26.05.2021 05:00
Questions on the website: 13722361