Computer Science > Quiz > TMA02_TM111.docx (All)
The user is asked to enter a child’s name. Their input, “Jamil”, is stored in the variable child_name. -The user is asked to enter an amount of trip money in £. Their input, 20, Is stored in... trip_money -The variable trip_money is then passed through an if statement to determine if there is any difference -The variable trip_money is less than the desired amount of 24.95, so it goes into the loop. The difference is then set to 24.95-trip_money, which results in the difference being set as 4.95 B) i)the second part of the trip_money if statement. The cost of the trip ii)trip_cost iii) beforehand, you could be [Show More]
Last updated: 1 year ago
Preview 1 out of 7 pages
TM111 TMA 02 Z3528700.doc Bundle
By Topstudies 1 year ago
$25
5
Connected school, study & course
About the document
Uploaded On
Jul 24, 2022
Number of pages
7
Written in
This document has been written for:
Uploaded
Jul 24, 2022
Downloads
0
Views
95
In Browsegrades, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Browsegrades · High quality services·