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

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


Create a person class with name as data member provide four functions in getname() to get input from user and put name to display output write two virtual functions getdata() and outstanding() where both these functions takes no argument and getdata() returns no value but outstanding() returns Boolean value . Derive student and professor from person. student class should contain gpa as its float type and overrides the virtual functions appropriately . In professor class provide number of applications as data members and override the virtual functions appropriately . Write a main program to declare a array of pointers to person object and depending on the choice from user create either a student object or professor object and store it in person array for n persons and display the details along with whether the person is outstanding or not


Create a person class with name as data member provide four functions in getname() to get input from user and put name to display output write two virtual functions getdata() and outstanding() where both these functions takes no argument and getdata() returns no value but outstanding() returns Boolean value . Derive student and professor from person. student class should contain gpa as its float type and overrides the virtual functions appropriately . In professor class provide number of applications as data members and override the virtual functions appropriately . Write a main program to declare a array of pointers to person object and depending on the choice from user create either a student object or professor object and store it in person array for n persons and display the details along with whether the person is outstanding or not


A Pythagorean triplet is a set of three integers a, b, and c such that a2+ b2 = c2. In the given limit L, find the number of Pythagorean triplets R that can be formed (such that a < b < c).

Input
The first line is an integer L.

Explanation
For L = 20, Pythagorean triples satisfying the condition a < b < c are

(3, 4, 5), (6, 8, 10), (5, 12, 13), (9, 12, 15), (8, 15, 17), (12, 16, 20).

Hence the output should be 6.

Use the operator overloading technique to define the binary operator+ in the Square class of Q1 then overload the insertion operator << for the same class, and overload the decrements operator-- which decrease the side by one . Use the new + operator to add two squares such that the side of resulted square equal to the addition of the sides of the added squares and use the decrements operator-- to decrease the side of square by one, then use the overloaded insertion operator << to print the resulted square in the main program. After that add a new integer pointer variable called color that point to an integer array of three elements to the class square then write the copy constructor for the new class.


Define and implement the class Square with template to enable the user using different data types for the square side. The class has side as member variable and and has setSide(Sside), getSide(), Area(), Perimeter(), Print() as member functions beside the constructers Square(), Square(Cside ), the destructor ~Square(). Determine which function is accessor and which one is mutator. Hint: Perimeter=4*side. *



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. write a c program.

Sample input:

Str[]=programming

Sample output:

Updated string=ogrammingpr


In a microcomputer, the addresses of memory locations are binary numbers that identify each memory circuit where a byte is stored. The number of bits that make up an address depends on how many memory locations there are. Since the number of bits can be very large, the addresses are often specified in hex instead of binary. i. If a microcomputer uses a 20-bit address, how many different memory locations are there? ii. How many hex digits are needed to represent the address of a memory location there? iii. What is the hex address of the 255th memory location? (Note: The first address is always 0) iv. The computer program is stored in the lowest 2kbyte block of memory. Give the start and end address of this block.


Write a c++ program to implement the following . Assuming that a text file named first.txt contains some text written into it .write a function named vowelwords(), that reads the file first.txt and creates a new file named second.txt ,to contain only those words from the file first.txt which start the lowercase vowel (a,e,i,o,u).



LATEST TUTORIALS
APPROVED BY CLIENTS