Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Write a program that read two float number a and b from the user, and prints sum of these numbers.


a = input("Enter an animal: "

s = input ("Enter a sound: )

   

e = "E"


print ("Old Macdonald had a farm, " + e)

print ("And on his farm he had a + a +  ","  e)

print ("With a " + a + "-" + a + " here and a" + s + "-" + s + " there")

print ("Here a "+ s+ " there a " s)

print ("Everywhere a"   s + "-" + a )

print ("Old Macdonald had a farm," + e)


can you please correct the wrong parts here?


Create an algorithm for this problem.(5 points)Create the pseudocode for this problem. (5 points) Create the flowchart for this problem (5 points)Code the solution for this problem

•You must have a method called happyVerse and this method must include the print out statements for 1 verse of your song(2 points)•Your happyVerse must take in 2 arguments (set up 2 parameters to accept the action and sound that will be passed in from the main method)(3points)•Your main method must call the happyVerse method 3 times:(3points)

oAction: “clap your hands”Sound:“clap” oAction: “stomp your feet” Sound: “stomp”oAction: “shout Hurray!’Sound: ‘hoo-ray”•Your program compiles and prints 3 verses of the “If You’re Happy and You Know It” song (2points)


What is the difference between = operator overloading with returning object and without returning object.


Write a program in C++, which demonstrate = operator overloading.


The government has decided to charge 0.5% tax on every car purchased from KTA. You are to write a Java program. Your program should: 


a. Request for a username and password to be inputted. Your username and password should grant access to the program if they are correctly inputted 


b. Your program should have a method that calculates and displays the tax on any car purchased. 


c. Your program should be able to perform “b” above at least 10 times. 


d. Assuming sales have now gone up and the government has scraped the tax incentive. A tax of 25% imposed on each car sale. Modify a portion of the code to reflect the new development. 


e. Explain how the Ghana Revenue Agency (GRA) can use your program to calculate tax on goods imported into the country.


Create a program that takes in a student first name and average mark obtained, the system should the group the students using the first letter in their name modulus 10 [ Remember that characters are considered as numeric values, hence ‘J’%10 is a valid calculation ]. For example if the student name is Cena, then the student belongs to group 7 because ‘C’%10 = 7 and if the name was Jack then the student belongs to group 4. The program should further use the group number to get the group lecturer and class date as follows: [Hint: If the result is 0 then the student belongs to group 10]


1.Setup of the Kafka cluster, including topic management. (20%).

2.Implementation of the client and services in the Ballerina language. (70%)

3.Quality of design and implementation. (10%)


If X is the random variable model ‘the number on a biased die’, and the probability distribution function of X is as shown below,


315 people have to be transported using buses that have 37 seats. By typing

one line (command) in the Command Window, calculate how many seats will

remain empty if enough buses will be ordered to transport all the people.

(Hint: use MATLAB built-in function ceil.)


LATEST TUTORIALS
APPROVED BY CLIENTS