unconditonally transfer program control within a function
Write a program that reads in a room number, the room’s capacity, and the size of the class enrolled so far, and prints an output line showing the class room number, the capacity, number of students enrolled, number of seats available, and whether the class is closed or not.
Using while or do-while. Make a program that will input Sales, process the Value Added Tax deduction as follows:
Sales
VAT
Less than equal =10000.00
10%
Above 10000.00
15 %
Display the taxable amount, Your program will be terminated if you input zero in the sales.
develop a java console application that either overhaul or automate it.
Implement the following java concept in your solution and highlight in your documentation or code where you did it:
1. Class and Object
2. File and Stream
3. Exception Handling
The XYZ Manufacturing Company plans to give year-end bonus
to its employees. Make a flowchart and write a program that
will compute for the year-end bonus of its employees
considering the following criteria:
- If employee’s monthly salary is less than or equal to
P7000, bonus is 50% of the salary.
- For employees with salaries greater than P7000, bonus is
P7000.
- Print out the names, salaries and the corresponding
bonuses of the employees.
Create a program wherein any user should be able to borrow books. Each of the book must have three copies. Indicate how many books are left when they want to borrow a book. Users should be able to check-out and reserve any copy.
Create a small Arduino project in tinkerCAD.
The project must make use of at least the following:
● Any 1 of the following analog sensors: TMP36, Flex sensor, Photoresistor, or Force Sensor.
AND
● Any 2 of the following Digital input devices: Pushbutton, Slide switch, or DIP switch.
AND
● Any 1 of the following Digital output devices: LED, or Piezo Buzzer.
AND
● Any 1 of the following PWM output devices: DC Motor, Hobby gearmotor, RGB LED.
AND
● A 16x2 LCD display
In you program you must make use of the following:
● analogRead(), digitalRead(),analogWrite(), digitalWrite()
● if statements and if else statements, (i.e. testing the value of a sensor)
● at least 1 while loop
● at least 1 for loop
● an array
● variables
● The LCD display
● arithmetic ( + , - , * , / , % ) and compound operators (+=,-=,*=,/=,%=)
● Comparison and Logical operators
What will the value of the solution variable be after the code segment below has been run.
int solution = 8;
int number1 = 16, number10 = 3;
solution *= number1 - number10 ;
What will the value of the solution variable be after the code segment below has been run.
int solution = 80;
int number56 = 16, number15 = 7;
solution -= number56 * number15 ;
Elaborate a real troubleshooting document which the issue is data loss