Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Build a class Mobile with the following data members  Model (string)  Brand (string)  Price (float)  simNum(string) 1. Provide a method print setSimNum(string num) that assigns the value num to the attribute simNum 2. Provide a method getNetwork() that returns a string telling which network operator this sim is registered on e.g. Warid, Jazz, Ufone, ,etc. For this you will have to get the first 4 chacters of the simNum and find out the network. E.g. if these 4 characters are 0300 then you will return “Jazz” , if these are 0333 then you will return Ufone and so on. Also provide a method print that prints all details about the mobile 


You are an employee of a marketing organization that pays you a monthly salary of Ksh.
10,000 if you work for the recommended 160 hours a month (Monday - Friday, 9am - 5pm,
for a month). This salary can however fluctuate based on the number of hours worked, in that
if you work for more than the recommended working hours ie above 160 hours, you earn an
extra 10% of your salary but if you work for less than 160 hours, you will be deducted 10% of
your salary. With the aid of a SWITCH CASE select structure Implement a program written
in C++ that would help the finance department calculate your monthly salary based on the
hours worked being the input value of the program.

Write a guessing game in java

where the computer generates a secret integer, and the user has to guess the secret integer. After every guess the program tells the user whether their number was too large or too small. Pring “Bingo” and the secret integer if the guess matches. At the end the number of tries needed should be printed.

Hints: How to generate secret number:

1. Import the class java.util.Random

2. Make the instance of the class Random, i.e., Random rand = new Random()

3. Use nextInt(upperbound) generates random numbers in the range 0 to upperbound-1


Develop an algorithm in form of a pseudocode to solve the following problem: You are given an array of positive numbers, determine if there are any two integers in the array whose sum is equal to the given value X, and display all pairs of integers in the array that add up to X. Look at the below test case to guide you. (NB: do not write a C++ program but pseudocode) [5 Marks] Array: {7,1,2,8,4,3} Target sum/value (X)= 10 Expected Output: 7 + 3 = 10, 2 + 8 = 10


Class 5A in Sahara Tech Academy has a total of 5 Students. 2 of the students are male while 3 are female. In another stream 5B, in the same school, there are 6 students of which 4 are female and 2 male. Required. Women in Technology International (WITI), an international organization to empower women in technology has organized a symposium for all the female students in class 5 A and B. 1. Using 2D arrays in C++, write a program that registers all the students in both streams in different arrays i.e. 5A and 5B using first name and gender. Traverse through both registers, filter and come up with a full list i.e. 5C that has all the names of the students in 5A and 5B that qualified for the symposium a. Populating and displaying class 5A [2Marks] b. Populating and displaying class 5B [2 Marks] c. Displaying class 5C [5 Marks] 2. Comment important parts of your code. 


You are an employee of a marketing organization that pays you a monthly salary of Ksh. 10,000 if you work for the recommended 160 hours a month (Monday - Friday, 9am - 5pm, for a month). This salary can however fluctuate based on the number of hours worked, in that if you work for more than the recommended working hours ie above 160 hours, you earn an extra 10% of your salary but if you work for less than 160 hours, you will be deducted 10% of your salary. With the aid of a SWITCH CASE select structure Implement a program written in C++ that would help the finance department calculate your monthly salary based on the hours worked being the input value of the program. 


• Write a function for checking the speed of drivers. This function

should have one parameter: speed.

• If speed is less than 70, it should print "Ok".

• Otherwise, for every 5km above the speed limit (70), it should give

the driver one demerit point and print the total number of demerit

points. For example, if the speed is 80, it should print: "Points: 2"

• If the driver gets more than 12 points, the function should print:

"License suspended"


why did eBay turn to IBM`s OPERA application?



A restaurant wants a program that allows its salesclerks to enter the number of bagels, donuts, and cups of coffee a customer orders. Bagels are Rs. 99, donuts are Rs.75, and coffee is Rs. 120 per cup. The program should calculate and display the total price of the customer’s order.


Return the total rent_value when vehicle_no, rented_date, return_date, with_driver parameters are sent in. with_driver parameter is set to true or false depending whether the vehicle is rented with or without driver.



LATEST TUTORIALS
APPROVED BY CLIENTS