Questions: 1 835

Answers by our Experts: 1 539

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

By using switch..case statement, construct a console program using C language to display the book price that entered by the customer and then display the new book price after the discounts. The customer needs to enter the code and the discount will be given to the customer based on the code entered by them.
Code 1 : 10% discount
Code 2 : 15% discount
Code 3 : 17% discount
Others : 5% discount
The development team of SoftSols Inc. analyzes the source code of the existing software and
notes the following observations:
The software contains a private class, named bookTickets, that contains the methods used to
perform ticket bookings for various flights.
There is no class or function that can be used to check the maintenance details of FlyHigh's
aircrafts.
hello sir
I have a assignment and i have to make a program and i am not able to implement it my question is:- which classes of the .Net framework should i use to Create and Modify a details in a file and also the content should be readable only by application and not by user? and why? I want to implement this using Console application. please help.
#include<stdio.h>
#include<conio.h>
struct complex {
float real;
float image;
};
void main()
{
struct complex a,b;
input();
}
{
input()}

struct complex a,b;
int c;
printf("enter the first complex no (x+iy)\n");
scanf("%f %f \n",&a.real,&b.image);
printf("enter the 2nd complex no. (x+iy)\n");
scanf("%f %f\n",&a.real,&b.image);
while((c=getchar())!='q'){
menu();
switch(c){
case 'a':
add(a,b);
break;
case's':
sub(a,b);
break;
case'm':
mult(a,b);
break;
case'd':
div(a,b);
break;
}
}
menu()
{
printf("a=addition\n");
printf("enter an option\n");
}
add(a,b)
struct complex a,b;
{
struct complex c;
c.real=a.real+b.real;
c.image=a.image+b.image;
printf("addition of 2 complex no:\n");
output(c);
}

output(c);
struct complex c;
{
if(c.image<0)
printf("%0.2f %0.2fi\n",c.real,c.image);
else
printf("%0.2f+i%0.2f\n",c.real,c.image);
}
getch();}
not able to run the program please help!
Write a program that displays "Congratulations! You have cleared this Level. Entering Level 2..." in
red color.
i need a code that will calculate available balance on the atm program(own class)
In case the user presses any other key, the application should open the stock details file in the
read/write mode, display a message to enter new stock details, and save the details that the user
has entered. Write the code snippet that Hayley should use to accomplish the preceding task?
Write a program to identify whether the number entered bya user is even or odd??
Create a program that will simulate demand paging using Least Frequently Used. (to resolve conflict, apply first in first out)
Inputs are: list of page requests (string) and number of page frames (integer 1-10)
Sample input:
page requests : ABCBADEABC
page frames : 2
Sample output:
PF1 A A C C A A A A A A
PF2 - B B B B D E E B C
* * * * * * * *
This project requires that you have knowledge of how an ATM machine works and deals with different transactions.
Visit an ATM machine with your group members if you don’t already have a proper idea of how it handles transactions.
The IT manager at FNB Bank has asked you to develop a similar application as a prerequisite for gaining employment as a junior developer.
Welcome screen.
b. Enter the card number and pin.
c. If card number is valid, welcome; and the card owners name appear
d. Else, wrong details message is displayed
e. If the details are entered wrongly three times, disable all textboxes.
f. Details correct, select transaction to perform after logged on:
i. Deposit
ii. Withdrawal
iii. Check Balance
g. Create three classes each representing the three transactions above and call them in the transaction options
h. Set the initial balance to R1500.00
i. When a user select on deposit, update the balance every time a deposit is made.
j. When a user clicks on withdrawal, validate that the am
LATEST TUTORIALS
APPROVED BY CLIENTS