3.write an algorithem and the java program that declars aminutes variable that represents minutes worked on ajob and reads avalue using Dialog Box .use time as the clas name Display the value in hours and minutes. for example 197mintes becomes 3 hours ad 17 minutes save the program as time java.
hints ; use the % operator to extract digits and use the / operator to remove the extracted digits. for instance,932%10=2 and 932/10 =93
5.Write an algorthim ten ajava program that plays aword game with the user the program shoud ask the user to enter the following ;
His or her name
His or her age
the name of acity
the name of acollage
after the user has entered there items the program should display the following story inserting the user's input into appropriate location.
there once was aperson name NAME who lived in CITY. at the age of AGE,NAME went to college at COLLEGE.NAME graduated and went to work as a PROFESSION