Computer Science
C++ Programs on Function Homework Help A year with 366 days is called a leap year. A year is a leap it is divisible by 4 (for example, 1980). However, since the introduction of the Gregorian calendar on the 15th October 1582, a year is not a leap year if it divisible by 100 (for […]
C++ String Programs Homework Help Write a method called count A that accepts a String parameter and returns the number of times the character ‘A’ is found in the string. Write a recursive, boolean -valued method , containsVowel, that accepts a string and returns true if the string contains a vowel. A string […]
Insurance C++ Homework Help IN-surance is a SA company providing insurance for class A cars. You are required to write a program to assist the company in calculating the monthly premiums for its customers. The customers should pay a standard fee of R850.00 per month. In addition to the standard fee, the following fees […]
C++ Exercise Homework Help 1. Which of the following are invalid variable names and why? BASICSALARY #MEAN population in 2006 FLOAT team’svictory _basic group. over time hELLO Plot # 3 basic-hra 422 mindovermatter queue. 2015_DDay 2. Point out the errors, if any, in the following C statements: (a) int = 314.562 * 150 ; (b) […]
Online C++ Program Homework help A cashier has currency notes of denominations 10, 50 and 100. If the amount to be withdrawn is input through the keyboard in hundreds, find the total number of currency notes of each denomination the cashier will have to give to the withdrawer. If the total selling price […]
C++ Program Homework help Two numbers are input through the keyboard into two locations C and D. Write a program to interchange the contents of C and D. If a five-digit number is input through the keyboard, write a program to calculate the sum of its digits. (Hint: Use the modulus operator ‘%’) […]
Simple Programs C++ Homework Help Ramesh’s basic salary is input through the keyboard. His dearness allowance is 40% of basic salary, and house rent allowance is 20% of basic salary. Write a program to calculate his gross salary. The distance between two cities (in km.) is input through the keyboard. Write a program […]
Programming with C++ Homework Help Provide a program where you can choose among a set of functions (e.g., sin() and log()), provide parameters for those functions, and then graph them. Create a class Int . Overload four integer arithmetic operators ( +, -, * and / ) so that they operate on objects […]
Controlled Loop Homework Help Counter controlled loop 1. Write a program that will use a counter-controlled loop to display the first 50 numbers 2. Modify the program to prompt the user for a number. Starting with that number, use the counter controlled loop to display 50 numbers beginning with the number the user keyed in. […]
Array Programming Homework Help Write a program that will create three 10 element [integer] number arrays. Initialize the 3rd array with zeros at declaration time. Use the random number generator to create the elements in array 1 and 2 with a 3 digit number. Write a Program to insert two arrays and find […]