Computers and Technology
Computers and Technology, 09.09.2019 17:20, quan91

Ther are two rides in a park ride1 and ride 2 the charge of ride 1 is rs100,and ride 2 is rs200 one can select either one or both. if the age is less than 12,a discount of rs 50 is given write a programme in python to calculate the total amount to pay 1)ride 1 2)ride 2 3)ride 1 and ride 2 any other input should show as "invalid sselection"

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 18:30, yayamcneal05
Which cultural aspect does this type of song best portray? a german polka dance
Answers: 1
image
Computers and Technology, 23.06.2019 00:30, Thisisdifinite
Which of the following would you find on a network
Answers: 3
image
Computers and Technology, 24.06.2019 07:30, LuckyCharms988
Consider the folloeing website url: what does the "http: //" represent? a. protocal identifier. b. ftp. c. domain name d. resource name
Answers: 2
image
Computers and Technology, 24.06.2019 11:20, brittanybyers122
Print "censored" if userinput contains the word "darn", else print userinput. end with newline. ex: if userinput is "that darn cat.", then output is: censoredex: if userinput is "dang, that was scary! ", then output is: dang, that was scary! note: if the submitted code has an out-of-range access, the system will stop running the code after a few seconds, and report "program end never reached." the system doesn't print the test case that caused the reported message.#include #include using namespace std; int main() {string userinput; getline(cin, userinput); int ispresent = userinput. find("darn"); if (ispresent > 0){cout < < "censored" < < endl; /* your solution goes here */return 0; }
Answers: 3
Do you know the correct answer?
Ther are two rides in a park ride1 and ride 2 the charge of ride 1 is rs100,and ride 2 is rs200 one...

Questions in other subjects:

Konu
Mathematics, 04.12.2019 10:31