Q1 Election Commission of Malaysia (SPR) wants to develop a registration of voter’s program. To register as an elector, one must be a Malaysian citizen and be 21 years old and above. Firstly, the user need to key in IC number. If the IC number is not valid, the system will print “IC number is not valid" and quit from the system. If the IC number is valid, the system will then check the age of voters based on the year of birth from the IC number. If the age is 21 and above, the program will print a status as "Qualified". If not, the program will print "Disqualified".
Q: C++ Language
A: Answer is in given below:-
Q: XYZ Company, LC uses a program to manage the information of their employees. The program gets the…
A: IPO model(input process output)---->is used for describing the structure of an information…
Q: Write a C++ code based on the Sample Dialog Validate input. Offer to "Try Again". SAMPLE…
A: #include <iostream>//header file to include setprecision#include<iomanip> using…
Q: Reza Enterprises sells tickets for buses, tours, and other travel services. Because Reza frequently…
A: Algorithm: Start READ Num Compute: lastDigit = Num % 10 Compute: modNum = Num / 10 IF modNum% ==…
Q: Mobile Service Provider Write a flowgorithm program that will calculate a person’s mobile phone…
A: Please find the answer in the following steps. Flowchart: => It is a picture of the separate…
Q: This program displays a message box including the name of day when th user input it's number. (For…
A: F) 1 - x = CInt(Text1.Test) 2 - Select Case x 3 - Case 7
Q: (Phone key pads) The international standard letter/number mapping found on the telephone is shown…
A: PROGRAM CODE: import java.util.Scanner; public class Main { public static void main(String[] args)…
Q: ercise 4. Write a program that prompts the user to enter the date as three ger values for the day,…
A:
Q: The program prints the user's identifier (which could be an email address, a phone number, or a…
A: Below I have provided the java code of the given program. Also, I have attached the output of the…
Q: Election Commission of Malaysia (SPR) wants to develop a registration of voter's program. To…
A: Ans:) In the above scenario, we have to design a system that is able to determine a user is…
Q: Welcomes user to the Windchill Temperature (WCT) Weather Report calculator. Prompts the user to…
A: Program approach: Print program heading. Input decimal precision as an integer. Print error…
Q: Solly’s Sale Stores (S3) have 12 branches in Gauteng. Since his business has been affected by the…
A: The program must contain a function to input data and a function to output data. Add functions to…
Q: An ISBN-10 (International Standard Book Number) consists of 10 digits: The last digit, is a…
A: Java code: import java.util.Scanner; public class Main{ public static void main(String[] args){…
Q: Q1 Election Commission of Malaysia (SPR) wants to develop a registration of voter’s program. To…
A: Rectangle: a process Parallelogram: input/output Oval: start/ end Diamond: Decision making
Q: Write code to get information of 5 students (Exam id , average) then check the average them if it is…
A: As no programming language is mentioned, it is solved using basic C++
Q: Jeff and Gern run a furniture company specializing in tables and chairs. To save time, when a new…
A: Complete answer is below:
Q: A chemical company will be charged RMI,200.00 per Kilogram for the first 100kg of a. waste they send…
A: CurrentDisposedWeight = 0 Enter the amount of waste to be disposed If CurrentDisposedWeight > 100…
Q: =24882#section-15 Pa new number is divisible by 7, the original number is divisibl My Courses . last…
A: We have to write python program for all the divisibility rules.
Q: Election Commission of Malaysia (SPR) wants to develop a registration of voter's program. To…
A: START INPUT IC number IF IC number is valid FIND age from year of birth IF age >= 21 PRINT…
Q: Write a program using switch statement that reads each time a product number whose retail prices are…
A: C used to answer this question
Q: Bob employs a painting company that wants to use your services to help create an invoice generating…
A: An algorithm is created during the early stage of a program design. It helps in understanding how a…
Q: Calculator: Initially asks for two numbers. Afterwards, ask the user to select the operator and…
A: def Compute(x,y,op): x=int(x) y=int(y) if op=="+": return x+y if op=="-":…
Q: Ask the user for two numbers (these can be entered in any order). Then print the numbers, and tell…
A: We are using #include<iomanip> so that we can use specific decimal places as we want. We are…
Q: There are 60 students enrolled in CENG 104 class. Students fake 1 quiz, 1 midferm exam and 1 fin…
A: It is defined as an interpreted, object-oriented, high-level programming language with dynamic…
Q: Decrement operator, --, decreases the value of variable by what number? a) 1 b) 2 c) 3 d) 4
A:
Q: Magic Number Programming: Magic program ask user to enter three integers by the user, the three…
A: # include<stdio.h> void magic_numbers(int left, int right, int digit) // the function to…
Q: ete the function that calculates the sum of the first n+1 terms of the geometric series a, ar,…
A: Please find the answer below :
Q: The Meteorological service requires a program to allow the operator to enter the rainfall level. The…
A: use while loop to take values until zero is pressed. store the values into array and then find min…
Q: Ask the user to enter the new rating for food. Validate the rating. If the rating is not within the…
A: Objective: This program receives details of some restaurants (like food and service ratings) and…
Q: Tom and Jerry opened a new lawn service. They provide three types of services: mowing, fertilizing,…
A: #include <iostream>using namespace std; //main function int main () {//we are considering…
Q: Computer Science The user should enter his/her latest math course. If that course meets the computer…
A: Code: <html> <head> <script> function check(){ var c1=["MATH…
Q: fice of plane 1000$ by default, but discounts are applied to it based on different criteria. 1-…
A: As per the given question, Case 1: If the person is student, then the student gets 20%discount. Case…
Q: items by 25%. Store that value to a properly named constant. Write a program that functions like a…
A: A required Python program is as follows, #Getting input from the user for item price ticket_price =…
Q: Question Print Daily Company (PDC) needs a program that displays weekly salary. PDC has five…
A: Code with the OOP approach in JAVA is given below along with output
Q: C# Use the script below and finish the program which should do the following: After RUN the program…
A: C used to answer this question
Q: Using C++ programming language. You need to create a game using strings. First generate a random…
A: Actually, c++ is a powerful general purpose language. String is a sequence of characters.
Q: A company has 45 employers, 25 work as system developers (D) and (N) work as sales representer while…
A: Below is the flowchart:
Q: rm the following: Ask the first name, middle initial and last name of the student. Prompt the user…
A: Implementation: import java.util.*;public class Main{ public static void main(String[] args) {…
Q: You are required to create a Number Guessing Name, use rand function to generate a random number,…
A: #include <iostream> #include <stdlib.h> using namespace std; int main(){ int i,num;…
Q: // format and display output Number Format number = Number Format.getNumber Inst…
A: The completed code is below:
Q: esent to the user a plot li to indicate his or her choi
A: Bartleby allows experts to answer only one question at a time. As you have multiple questions.…
Q: 6. Prompt user to enter an integer number from console. Adjust this number if it is not in the…
A: Below is the complete solution with explanation for the given question in detail.
Q: 1- Enter two values ( x and y) then print the square root value of (x) when (x-y)<10 otherwise print…
A: NOTE: As per our guidelines we are supposed to answer only one question so please post the another…
Q: XYZ Company, LLC uses a program to manage the information of their employees. The program gets the…
A: Python Code for above : #get details from user name = input("Name of Employee: ") hours =…
Q: // A standard mortgage is paid monthly over 30 years. // This program is intended to display 360…
A: Answer: for(int i=0; i<30;i++)//this loop is for the year for(int i=0;j<12;j++) printf("the…
Q: King room: $100/night| Suite room: $150/night The size of the hotel chains in different locations…
A: FLOWCHART:
Q: Write a program to: Prompt the user for each employee’s id (an integer value) and the sales…
A: C++ Program Code: #include<iostream>#include<iomanip>#define MAX 20using namespace std;…
Q: My Solution Tax Calculator (conditional flow control) The simplest income tax calculation for a…
A: function…
Q: The company offers 10-, 15-, and 30-year fixed loans. The interest rates offered to customers are…
A: Objective: This program builds an application for calculating the monthly payment of an entered loan…
Step by step
Solved in 2 steps
- A customer calls a clerk at the insurance company and gives his policy number, and the system displays the basic insurance policy. The clerk then checks the information to make sure the premiums are current and the policy is in force. The customer gives the make, model, year, and vehicle identification number (VIN) of the car to be added. The clerk enters this information, and the system ensures that the given data is valid. Next, the customer selects the type of coverage desired and the amount of each. The clerk enters the information, and the system records it and validates the requested amount against the policy limits. After all the coverages have been entered, the system ensures the total coverage against all other ranges, including other cars on the policy. Finally the customer must identify all the drivers and the percentage of time they drive the car. If a new driver is to be added, then another use case – Add new driver – is invoked. At the end of the process, the system…Write a script that declares a variable and sets it to the count of all products in the Products table. If the count is greater than or equal to 7, the script should display a message that says, “The number of products is greater than or equal to 7”. Otherwise, it should say, “The number of products is less than 7”.Which scenarios would cause an error ?
- An ISBN (International Standard Book Number) is a 10 digit number that is used to identify a book. The first nine digits of the ISBN number are used to represent the Title, Publisher and Group of the book and the last digit is used for checking whether ISBN is correct or not. To uniquely identify a book a 10-digit ISBN number is used. The rightmost digit is checksum digit. This digit is determined from the other 9 digits using condition that 10d, + 9dz + 8dg + + d4o must be a multiple of 11 (where d, denotes the i" digit from the right). The checksum digit d; can be any value from 0 to 10: the ISBN convention is to use the value X to denote 10. Write a C program using pointers that receives a 10- digit ISBN, and computes the checksum, and reports whether the ISBN number is correct or not. Example: 007462542X = 10°0 + 9*0 + 8*7 + 74 + 6*6 + 5*2 + 4*5 + 3"4 + 2*2 + 110 = 176 Since 176 leaves no remainder when divided by 11, hence it is a valid ISBN. Note: When the check digit turns out…From an ATM, a user may withdraw up to $500 every day. The service fee is 4% if a consumer withdraws more than $300. It alerts the customer of insufficient cash and offers to withdraw the funds for a $25 charge. If your account has a negative balance or is empty, you won't be able to withdraw money from the ATM. The ATM notifies the user of the maximum withdrawal amount and refuses the transaction if it exceeds $500. Create a withdrawal amount entry algorithm that clients may use. After checking the account balance, the algorithm debits the customer's account for the amount withdrawn plus any applicable service charges.why below code is not working?
- On the Faculty Data worksheet, in cell J3, use an IFS function to calculate the retirement matching dollar amount for each faculty member participating in the retirement plan. If the participating member is a Full Professor, the matching amount is 4% of the salary. Otherwise, the matching amount is 3% of the salary. If the member is not participating, show a blank.Coronavirus disease (COVID-19) is an infectious disease caused by a newly discovered coronavirus. Most people who fall sick with COVID-19 will experience mild to moderate symptoms and recover without special treatment. Create a new program which will analyse Covid-19 case in Malaysia based on a state daily. The user must enter the state (such as Sabah) and number of districts of covid-19 reading. Every day, each district will only update the total of new cases two times. Daily cases are the total of report update daily. To record the data, the system is developing according to specification below: Read number of district, representing the size of array, Read the name of district. i. i. ii. Read total new cases in each update The report must include the following process: i. Calculate and view total cases daily for each district Find the average of new cases in that state. Calculate the frequency of new cases. iv. i. ii. Determine total new cluster based on this criterion below. green…PS: Please answer number 3 to 5 altogether as they are both associated.
- Saira owns a small business and she frequently makes transactions. Sometimes she makes payments and other times payments are credited in her account. One of her customer Tania purchased a product and credited payment while another payment by Saira was in progress. Now the sequence of transaction is as follows:1. Tania’s account read amount in saira’s account2. Saira’s account read amount in saira’s account3. Tania added Rs. 500/- in original amount (that was lets suppose Rs. 60,000/ 4. Saira’s account subtracted Rs. 2000/- that she debited in someone else’s account form the original amount (that was Rs. 60,000) 5. Tania’s account committed the transaction 6. Saira’s account committed the transaction Draw the above-mentioned sequence in form of a table and see if there is a problem. What this problem is called and how can we avoid such kind of problem? Propose some solutions (at least two) and then explain which one is better and why?Task 4: The InstantRide User Satisfaction team is a core team for InstantRide, and they focus on increasing the customer satisfaction. They want to learn the travel time for each ride in the system. You need to return the USER_ID, and the TRAVEL_TIME column which is calculated using the TIMEDIFF function on the TRAVEL_END_TIME and the TRAVEL_START_TIME.Oracle language Display the employee’s name whose salary is within a range that is specified by theuser input as follows: