Questions: 11 448

Answers by our Experts: 10 707

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

write a c++ program to find the sum of integers between 1 and 500 except those numbers which are divisible by 7 and 9


An odometer is an instrument used for measuring the distance traveled by a vehicle, such as a bicycle or car. It appears on a car’s dashboard together with the speedometer


given a string "programming" and find the first occurrence of the vowel and move the sequence of consonants preceding the first vowel to the end of the string
Sample input:
Str[]=programming
Sample output:
Updated string=ogrammingpr
given an input string Ayodhya your C program to count the number of vowels and consonants and print the frequency of occurrence of each vowel and consonant delete the vowels in the same input string and display the updated string
Sample input:
Enter the input string: Ayodhya
Sample output:
No of vowels:3
Frequency of occurrence:A-2;o-1
No of consonants:4
Frequency of occurrence:y-2;d-1;h-1
given a string "programming" and find the first occurrence of the vowel and move the sequence of consonants preceding the first vowel to the end of the string
Sample input:
Str[]=programming
Sample output:
Updated string=ogrammingpr
write a program to get 5 single digit numbers in an array and form a number using the array elements (use function with array as argument and return the number)
Sample input:
Numbers [5]={1,2,3,4,5}
Sample output:
Number=12345

Show a class Run using static data members that contains the following data members  The name of the runner  The distance covered by a runner The class has the following member functions  Get function to input runner name and distance  Show function to display runner name and distance


Create a class called DISTANCE with data members as feet (int) and inches (float), use parameterised constructor to get the input values of the data members. Write a function to display the output. Create another class called DIST_KM with a data member kilometre (float). Use a parameterized constructor to assign input and a function to display it. In the main function, write a menu-driven program with 1. Convert feet and inches into kilometres 2.Check whether both the distances are equal or not. For option 1, write the conversion function in the source class. For option 2, create a separate object to assign the kilometres and check the equality of distances by overloading the operator (==).  [Note: 1 feet=0.00305km]


You are given a file words.txt containing some words. First, you have to find out the number of
words in the file. Read the words into a 2D array. You are required to make each row a
palindrome by adding additional character(s) if required. Write the updated array in another
file paliandrome.txt

#Write a C++ program that works exactly like strcnmp built-in function. It accepts two strings then it compares the two strings alphabetically considering number of characters to be compared, which is specified by the user. Define your function.



LATEST TUTORIALS
APPROVED BY CLIENTS