Create a flowchart that let the user guess the secret number. Display "higher" if the number entered by the user is higher that the secret number, otherwise, display "lower". Display "correct" if the user correctly guessed the secret number and terminate the program
Create a flowchart that prompts the user if the given password is correct or incorrect. Terminate the program if the password is correct or incorrect otherwise display an error message and continue asking the user for the password. Declare the password as 143
Create a flowchart that display hello world a number of times
Draw a UML class diagram
Design the class Doctor, inherited from the class Person, with an additional data member to store a doctor’s specialty. Add appropriate constructors and methods to initialize, access, and manipulate the data members.
Design the class Bill with data members to store a patient’s ID and the patient’s hospital charges such as pharmacy charges for medicine, the doctor’s fee, and the room charges. Add appropriate constructors and methods to initialize, access, and manipulate the data members.
Design class Patient, inherited from the class Person, with additional data members to store a patient’s ID, age, date of birth, attendingphysician’s name, the datewhenthepatientwas admittedin the hospital, and the date when the patient was discharged from the hospital. (Use the class Date to store the date of birth, admit date, discharge date, and the class Doctor to store the attending physician’s name.) Add appropriate constructorsandmethodsto initialize, access,andmanipulate the data members
Write a c code to perform binary search. If the element is present print its next
nearest prime number. If the element is not present print -1.
EXAMPLE:
Input:
10 20 30 40 50 60 70 80 90 100
Search element-50
Output: 53 (50 is present so print 53(next nearest prime number))
Draw a UML class diagram. Create a CollegeCourse class. The class contains fields for the course ID (for example, “CIS 210”), credit hours (for example, 3), and a letter grade (for example, ‘A’). Include get and set methods for each field.
Create a Student class containing an ID number and an array of five CollegeCourse objects. Create a get and set method for the Student ID number. Also create a get method that returns one of the Student’s CollegeCourses; the method takes an integer argument and returns the CollegeCourse in that position (0 through 4).
Next, create a set method that sets the value of one of the Student’s CollegeCourses; the method takes two arguments—a CollegeCourse and an integer representing the CollegeCourse’s position (0 through 4). Save the files as CollegeCourse.java and Student.java.
Write a function that receives a mark as a number and calculate the final percentage
of the student. The assignment mark is out of 90 marks
Assume that the variable num is properly declared as : int num = 7; Construct the equivalent expression using the arithmetic assignment operator to shorten it then evaluate the final value of num.
num = num % 3;
num = num * 4;
num = num + 13;
num = num – 2;
num = num / 3;
1. Create a program that will convert the input dollar (s) into its equivalent peso. One dollar is approximately equal to 50.60 pesos. Then display the result.
Sample output:
The equivalent of $100 into is Php5,060.00
How is the most appropriate form of protection applied for in terms of intellectual property?