1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
nasty-shy [4]
3 years ago
5

Write a program for the Pass-Em State College bursar to compute for each semester the tuition for each student. If a student is

taking 12 credits or less, tuition is $525 per credit. If a student is taking more than 12 credits, the total tuition is $6300. Note: Use the format for arithmetic
Computers and Technology
1 answer:
lesantik [10]3 years ago
7 0

Answer:

students = int(input("How many students? "))

for i in range(students):

   credits = int(input("Enter credits: "))

   

   if credits <= 12:

      tuition = credits * 525

   else:

      tuition = 6300

   print("Tuition is $%.2f" % tuition)

Explanation:

Ask the user to enter the number of students

Create a for loop that iterates for each student

Ask the user to enter the credits

Check the credits. If it is smaller than or equal to 12, calculate the tuition as credits * 525. Otherwise, set the tuition as 6300

Print the tuition

You might be interested in
Transitive spread refers to the effect of the original things transmitted to the associate things through the material, energy o
Ludmilka [50]
A is the correct answer
4 0
3 years ago
Convert the following numbers to binary numbers: 5 , 6 , 7 , 8 , 9 .​
Anon25 [30]

Answer:

log 5,6,7,8,9 is the binary number according to the computer

7 0
3 years ago
Read 2 more answers
A user is reporting to you that they are unable to run a script named script1 within their home directory. The user has ownershi
lianna [129]

The correct scripts are:

chmod 765 script1

chmod u+x script1

A cοmmand is an instructiοn givеn by a usеr tеlling a cοmputеr tο dο sοmеthing, such a run a singlе prοgram οr a grοup οf linkеd prοgrams. Cοmmands arе gеnеrally issuеd by typing thеm in at thе cοmmand linе (i.е., thе all-tеxt display mοdе) and thеn prеssing thе ЕNTЕR kеy, which passеs thеm tο thе shеll.

In Unix-likе οpеrating systеms, chmοd is thе cοmmand and systеm call which may changе thе accеss pеrmissiοns tο filе systеm οbjеcts. It may alsο altеr spеcial mοdе flags. Thе rеquеst is filtеrеd by thе umask. Thе namе is an abbrеviatiοn οf changе mοdе.

8 0
4 years ago
Over a TCP connection, suppose host A sends two segments to host B, host B sends an acknowledgement for each segment, the first
Margaret [11]

Answer:

a. Host A will retransmit neither segments

Explanation:

The options are:

a. Host A will retransmit neither segments

b. Host A will retransmit first segment

c. Host A will retransmit the second segment

d. Host A will retransmit both segments

The first acknowledgment is lost but the second acknowledgment arrives before the timer of the first segment expires, and hence the host A gets confirmation that Host B has received both the segments. And hence Host A will retransmit neither segments.

4 0
3 years ago
Google Docs, MS Word, Google Slides, MS PowerPoint, Google Sheets, MS Excel In your opinion which software in each category is e
podryga [215]

Answer:

I my opinion Google software is easier to use.

Explanation:

It is more upgraded and it's basically like kind of the latest version of Microsoft Software

This is just my opinion, I use Google Applications for every single thing in  my life

7 0
3 years ago
Read 2 more answers
Other questions:
  • My 2 in 1 laptop/tablet
    13·1 answer
  • Nearly all states allow citizens who are not able to go to the polls due to business travel to vote using this method: Internet
    9·2 answers
  • write the structure of an email message ques.2 what do you mean by search engine? write its component .ques. 3 what are the adva
    9·1 answer
  • How can you ensure that your web pages are compliant with a w3c standard?
    9·1 answer
  • What is the main advantage of using a WYSIWYG("what you see is what you get")editor when constructing a website
    5·1 answer
  • Websites not only give us information, but they also inspire designers in their layouts, illustrations, images, typefaces, and c
    6·1 answer
  • Carmina works at a fast-food restaurant. During the slow afternoon hours, Carmina always find projects to keep her busy, like wa
    6·1 answer
  • True or false windows 98 and windows xp are examples of an operating system?
    12·1 answer
  • A. Modify the FitnessTracker class that includes data fields for a fitness activity, the number of minutes spent participating,
    12·1 answer
  • Which word did alexander graham bell want adopted as a telephone greeting instead of hello.
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!