Question 1:(please use function that return a value)
Write a program to display information to a driver based on his/her speed according to the following table:
km/h over the limit
Fine
1 to 20
$100
21 to 30
$270
31 or above
$500
Sample Input 1:
Enter the speed limit: 40
Enter the recorded speed of the...
Problem Description
An artist wants to construct a sign whose letters will rotate freely in the breeze. In order to do this, she must only use letters that are not changed by rotation of 180 degrees: I, O, S, H, Z, X, and N.
Write a program...
Posted at 01:45h
in
archives
by admin
Problem Description
We often include emoticons in our text messages to indicate how we are feeling.
The three consecutive characters :-) indicate a happy face and the three consecutive characters :-( indicate a sad face.
Write a program to determine the overall mood of a message.
Input...
Posted at 00:39h
in
Uncategorized
by admin
Question 1.
Use EasyGui to write a program to convert temperatures from Fahrenheit to Celsius. The formula for that is: Celsius = 5 / 9 * (Fahrenheit - 32). Use GUI input and output. You need to create a easygui enterbox to ask Fahrenheit, then...
Posted at 00:38h
in
Uncategorized
by admin
Question :
Input a date and print the day, month and year from that string
Input
Enter Date: 2019-01-30
Output
Day: 30
Month: January
year: 2019
Input
Enter Date: 2019-11-15
Output
Day: 15
Month: November
year: 2019...
Problem Description
Text messaging using a cell phone is popular among teenagers. The messages can appear peculiar because short forms and symbols are used to abbreviate messages and hence reduce typing.
For example, “LOL” means “laughing out loud” and “:-)” is called an emoticon which looks like...