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 that declares an array of structures of type ‘car’, and asks the user to fill in the elements. Once all the structures have been initialized, the program should present a menu to the user so that he can print a certain structure, or modify its elements.


we want to store the marks of a student and print his final sgpa grade. create a base class Marks to convert the marks to grade. create derived classes Test-1 to store the marks of 1st test, Test-2 to store the marks of 2nd test, and SEE_marks to store the marks of final exam. Print the final SGPA after designing the appropriate input and output functions


Vowel Sound


Given a sentence, write a program rotate all the words left, so that every word starts with a vowel.

Note: If there is no vowel in the word, do not rotate it.

Sample Input

I saw a DRAGON flying in the sky

Sample Output

I aws a AGONDR ingfly in eth sky


def vowels_rotate(arg):

    vowels =['a', 'e', 'i', 'o', 'u']

    for indx, letter in enumerate(arg):

        if letter.lower() in vowels:

            return arg[indx:]+arg[:indx]

    return arg 

user_str = input("Enter your string: ")

words = user_str.split()

for i in range(len(words)):

    words[i] = vowels_rotate(words[i])

print(*words,sep="  ")


In the above code using enumerate to get the expected output. But, should we write without using enumerate ?


There is a structure called employee that holds information like employee code, name, date of joining. Write a program to create an array of the structure and enter some data into it. Then ask the user to enter the current date. Display the names of those employees whose tenure is 3 or more than 3 years according to the given current date.


There is a structure called employee that holds information like employee code, name, date of joining. Write a program to create an array of the structure and enter some data into it. Then ask the user to enter the current date. Display the names of those employees whose tenure is 3 or more than 3 years according to the given current date.


Create a class named 'Member' having the following members:

Data members

1 - Name

2 - Age

3 - Phone number

4 - Address

5 - Salary

It also has a method named 'printSalary' which prints the salary of the members.

Two classes 'Employee' and 'Manager' inherits the 'Member' class. The 'Employee' and 'Manager' classes have data members 'specialization' and 'department' respectively. Now, assign name, age, phone number, address and salary to an employee and a manager by making an object of both of these classes and print the same.


Due to upcoming end of financial year, you are being called in to write a program which will read in an input file called IncomeRec.txt, which contains a list of Annual (Gross) income records of employees in a firm, and produce various reports as outlined. Input File: The input file called IncomeRec.txt contains a list of Annual (Gross) income records of employees in a firm. You will assume that this firm contains at most 200 active staff. Each record is on a single line and the fields are separated by a single space. The names of the fields are: • Employee Lastname (initial) - char • FNPF# - integer • Age - integer • Gross_Income - integer • Resident - cha 


The supermarket has different variety of items in different weight. Find maximum weight from these items. Write a program to find maximum weight of an item using dynamic memory allocation


Hi, please help me with this one. Thank you. Question is below and link of photo. Needed it already. Thanks!


Determine the in-order, pre-order and post-order sequence. The link below is where the photo of this problem. Thank you!


https://www.bartleby.com/questions-and-answers/52-37-64-24-39-59-73-19-29-56-in-order-pre-order-post-order/100dd94b-74dc-49e0-a700-97b1a7f6afbd


Mr. James wanted to calculate his interest at the Bank of Sierra Leone, with a specific amount deposited, Time and Rate. Write C++ console program of functions to calculate the interest of Mr. James. The console application should asked the user to input values of Time, Rate and Amount deposited.


LATEST TUTORIALS
APPROVED BY CLIENTS