Input numbers from the user and find the sum of all those input numbers until the user
inputs zero. In other means, the loop should end when the user enters 0. Finally, display the
sum of all those numbers entered by the user.
Develop a system that allows 20 characters and produce number of vowels
write an employee class storing above mentioned information ,employee id, employee salary name,title write a piece of code that creates an arraylist of 100 objects of employee and store the information in the file wrte a method that reads the above stored information from file and prints the employee detail
Write a method called sumFirstAndLastDigist() with one parameter of type int called number.
The methods needs to find the first and Last digist of the parameter number passed to the method, using a loop and return the sum of the first and Last digist
Convert the Number
Given a number having ten digits, convert it to a string following the below-mentioned rules.
Rules for conversion:
1.separate the number into a set of four-three-three digits
2.Use the following prefixes for successive digits
a.Single numbers: just read them separately
b.Two consecutive numbers: double
c.Three consecutive numbers: triple
d.Four consecutive numbers: quadruple
Input
The first line of input is a string of ten digits.
Sample Input1
9887666668
sample Output1
nine double eight seven triplesix double six eight
Sample Input2
9090407368
Sample Output2
nine zero nine zero four zero seven three six eight
Student Report Card Application Develop that saves students’ marks information; show position and report card of each student in descending order. Requirements Each student has three subjects (English, Math and Computer). Application will save each student’s marks along with student’s name. Application will calculate total marks. Application will show position and report card in descending order.
Press any following key
Enter Total Students : 2
Enter Student Name : Lakhtey
Enter English Marks (Out Of 100) : 50
Enter Math Marks (Out Of 100) : 60
Enter Computer Marks (Out Of 100) : 30
Enter Student Name : Ali Asad
Enter English Marks (Out Of 100) : 60
Enter Math Marks (Out Of 100) : 70
Enter Computer Marks (Out Of 100) : 30
****Report Card*****
Student Name: Ali Asad, Position: 1, Total: 160/300
Student Name: Lakhtey, Position: 2, Total: 140/300
Use multi-dimension array to store student’s information.
Use loops to iterate over each student’s information to generate report.
For a certain academic subject the students are evaluated based on five tests -
Design a program that will prompt the user for marks for each of the tests and calculate the overall marks (out of 100).
display prime numbers from 5 to 5000 using the while loop, for loop and do while loop
Display even numbers from 5 to 5000 using the while loop ,for loop and do while loop
display multiples of 5 to 5000 using the while loop,for loop and do while loop