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 VB App that entered the students' marks on the textbox and display the final decision on the label after clicking on the button Get the Decision. The evaluation of the results shall be as follow:

- If the student marks are less or equal to 40, the decision will be failed,

- If the student's marks are greater than 40 and less or equal to 45, the decision will be student must write the sup exams,

  - If the student's marks are greater than 45 and less or equal to 60, the decision will be student passed,

- If the student's marks are greater than 60 and less or equal to 75, the decision will be student passed with satisfaction,


You work for a Marketing firm called SA Modern Suppliers. Your Purchasing Manager has asked you to write a VB Application that will allow users to create a flexible Suppliers List to which Suppliers can be added and removed as well as enable the user to clear the entire Suppliers List when it is no longer needed.

Allow the user to enter the Supplier name in the text box.

When the user clicks on the Add button the program should add the Supplier to

the list.

When the user selects a Supplier from the list and clicks the remove button, the

program should remove the selected Supplier from the list.

When the user clicks the Clear button, the program should clear the entire

Suppliers List.

When the user clicks on Exit, the application should close.


1. Function Overloading : Compile time polymorphism: early binding: same function name with different types and number of arguments.

2. Virtual function: Run-time polymorphism: late binding: call function depending on where base pointer is pointing to.


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


Kamal would like to withdraw X Rs from an ATM. The cash machine will

only accept the transaction if X is a multiple of 100, and kamal's account balance has enough cash to

perform the withdrawal transaction. For each

successful withdrawal the bank charges 50 Rs. Calculate Kamal's account

balance after an attempted transaction.


Consider the definition of the following class:

class Sample

{

private:

  int x;

  double y;

public :

  Sample();

//Constructor 1

  Sample(int);

//Constructor 2

  Sample(int, int);

//Constructor 3

  Sample(int, double);

//Constructor 4

};


i. Write the

definition of the constructor 1 so that the private member variables are initialized

to 0.

ii. Write the

definition of the constructor 2 so that the private member variable x is

initialized according to the value of the parameter, and the private member

variable y is initialized to 0.

iii. Write the definition of the constructors 3 and 4 so that the private

member variables are initialized according to the values of the parameters


Consider the class declaration and main() function below. There are two errors in

the main() function. Name the errors and explain how to fix them, providing all the

code required to correct the errors.

class Game

{

public:

Game();

string getName();

int getLevel();

double getScore();

private:

string Name;

string Champion;

int Level

double Score;

};

int main()

{

Game sodoku, tetris[12];

.........(additional code)

double nScore = sodoku.Champion;

.........(additional code)

return 0;

cout << "The first tetris player is "

<< tetris.getName() << endl;

}


The output should contain N space-separated integers representing the number of people who played after the person and scored less than the person.

def smaller_scores(L:list, N:int):

s = [0 for i in range(N)]

for i in range(N-1):

for j in range(i+1,N):

if L[i] > L[j]:

s[i] += 1

print(*s)

while True:

try:

N = int(input())

L = list(map(int,input().split()))

if len(L) != N:

raise ValueError

except ValueError:

print('incorect input, try again')

continue

smaller_scores(L,N)


The above program throws an error:

  N = int(input())

EOFError: EOF when reading a line

COuld you please help me to get an expected output?


A book shop maintains the inventory of books that are being sold at their shop. The list includes details such as author, title, price, publisher and stock position. Whenever a customer wants a book, the sales person inputs the title and author and the system searches the list and displays whether it is available or not. If it is not, an appropriate message is displayed. If it is, then the system displays the book details and requests for the number of copies required. If the requested copies are available, the total cost of the requested copies is displayed; otherwise "Required copies not in stock" is displayed. Design a

system using a class called books with suitable member functions and constructors. Use new operator in constructors to allocate memory space required.
LATEST TUTORIALS
APPROVED BY CLIENTS