1a.Write a program to input 10 integer numbers into an array named fmax and determine the maximum value entered. Your program should contain only one loop and the maximum should be determined as array element values are being input. (Hint: Set the maximum equal to the first array element, which should be input before the loop used to input the remaining array values.)
b. Repeat 1a, keeping track both the maximum element in the array and the index number for the maximum. After displaying the numbers, print these two messages
The maximum value is: _______
This is element number _______ in the list of numbers.
Have your program display the correct values in place in the underlines in the messages.
c. Repeat 1b, but have your program locate the minimum of the data entered.
Given any whole number from user input, check whether it’s a positive or negative number. If the number is negative then increment it by 3 and multiply the result by 4, however if it’s a positive number then decrement by 4 and multiply it by 3. a) Create a flowchart to be followed to solve the above task b) Create a java program using your flowchart.
Which of the language listed below is not a High-level programming language?
Select one:
a.
MASM
b.
C#
c.
Python
d.
Ruby
NOTE: String processing methods of String class should be used where necessary!!
Institution Name
Accreditation
NUST
Yes
UNAM
Yes
Space Institute
No
Sample run1:
Enter points and institution: 60 NUST F
Output: Loan Award Successful and application gender is: FEMALE
Write a program that calculate and displays an employee’s weekly salary. If the hours worked are less or equal to 40, the employee is payed N$65.54 per hour, otherwise the employee receives N$80.20 for every hour worked exceeding 40.
Draw a flowchart that uses while loops to perform the following steps:
a. Prompt the user to input two integers: firstNum and secondNum. (firstNum must be less than secondNum.)
b. Output all the odd numbers between firstNum and secondNum inclusive.
c. Output the sum of all the even numbers between firstNum and secondNum inclusive.
d. Output all the numbers and their squares between 1 and 10.
e. Output the sum of the squares of all the odd numbers between firstNum and secondNum inclusive.