Write a java program that will accept marks for 10 students who sat for a java examination. Total mark for the examination is 80. Determine the number of students who passed and failed the examination
Write c++ program to check whether agiven number is even or odd
Write a program using one-dimensional array that searches a number if it is found on the list of the given 5 input numbers and locate its exact location in the list.
Sample input/output dialogue:
Enter a list of numbers: 5 4 8 2 6 Enter a number to be searched: 2 2found in location 4
Arraying 101
by CodeChum Admin
I want you to make an array of numbers for me. All you have to do is make a program that will let me input any random integer in one line. Afterwards, it will then print out all the numbers I've inputted, backwards, on separate lines.
Care to do that for me?
Input
The first line contains the size of the array.
The next line contains the integers separated by a space.
5
1·64·32·2·11
Output
Multiple lines containing integers on each.
11
2
32
64
1
Create a program using one-dimensional array that searches a number if it is found on the list of the given 5 input numbers and locate it exact location in the list
How to print square pattern like this.
When input=4.
1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 16
The python list called customer_list contains a list of 6 objects of the Customer class. Each customer object as 2 public attributes: name and balance. Which of the following statements will correctly add R250 to the first customer object's balance?
Write a program to print T in all scales viz Celsius, Fahrenheit, and Kelvin.
Create a structure called time. Its three members, all type
int, should be called hours, minutes, and seconds. Write a
program that obtains two time values from the user in
12:59:59 format, stores them in struct time variables,
converts each one to seconds (type int), adds these
quantities, converts the result back to hours-minutes-
seconds, stores the result in a time structure, and finally
displays the result in 12:59:59 forma
Create a Python code that will accept two numbers from the user and prints "True" if it satisfies the condition and "False" otherwise. Use comparison operators ">", "<=", "!=", ">=", and "<".