answersLogoWhite

0

#include<stdio.h>

#include<conio.h>

#include<stdlib.h>

#include<math.h>

void main()

{

float amt,bal=0,min=500,cor;

char name[50];

int ch,ano;

clrscr();

printf("\nDetails of new account holder");

printf("\nEnter the Name:");

scanf("%s",name);

printf("\nEnter your account number maximum 4digit:");

scanf("%d",&ano);

printf("\n\tThank you %s.\n\tYour account is created t oour bank.",name);

printf("\nMinimun account balance Rs.500");

do

{

printf("\n\t1.Deposite\n\t2.Withdrawal\n\t3.Balance enqiury\n\t4.Exit" );

printf("\nEnter your chioce:");

scanf("%d",&ch);

switch(ch)

{

case 1:

printf("\nEnter the amount to deposite:");

scanf("%f",&amt);

bal=bal+amt;

printf("\nYour transaction is successful.amount debited your acount");

break;

case 2:

printf("\nEnter the amount to withdrawal:");

scanf("%f",&amt);

cor=bal-amt;

if(cor>=min)

{

printf("\nThe amount credited your account");

bal=bal-amt;

}

else

{

printf("\nThe Minimun balance is to low");

}

break;

case 3:

printf("\nYour Account balance is:%.2f",bal);

break;

case 4:

printf("\nThe transaction is close");

exit(0);

}

}while(ch<=4);

getch();

}

User Avatar

Wiki User

14y ago

What else can I help you with?

Continue Learning about Engineering

Vba code to create a sales order in pastel evolution SDK?

Contact me via email akwasi2 at gmail dot com


What if your company sells twenty five different products you've been ask to write a pseudo code that will display the no of products whose sales are above the average sales value?

First you need to work out the average sales value. For that you need to know the sale price of each of the 25 products and the total number of each product sold. Multiply the sale value by the number sold, then add all 25 totals together. Divide the total value of the sales by the total number of sales to get the average sales value. From that you can determine which of the 25 product lines have a selling price greater than the average selling price. Then simply add the total number of sales from each of those product lines. For a simplified example, consider the following five products: Product #1 #2 #3 #4 #5 Selling price $1.00 $2.00 $1.50 $3.00 $2.50 Quantity sold 50 40 10 1 4 Total $50.00 $80.00 $15.00 $3.00 $10.00 From this we can see the total sales value was $50 + $80 + $15 + $3 + $10 which is &pound;158.00. The quantity total is 50 + 40 + 10 + 1 + 4 which is 105. So the average sales value is $158 / 105 = $1.50 The products with a sales value greater than $1.50 are #2, #4 and #5, with sales of 40, 1 and 4 respectively. Therefore there were 40 + 1 + 4 = 45 sales above the average sales value.


What is primary and secondary channels of distribution?

Primary channels of distribution refer to the direct pathways through which products move from manufacturers to consumers, such as direct sales, retail stores, or e-commerce platforms. Secondary channels involve intermediaries like wholesalers, distributors, or agents that facilitate the movement of products to the end customer. These channels help broaden market reach and improve efficiency in getting products to consumers. Together, they create a comprehensive distribution strategy to optimize sales and customer access.


Can you show me the CRM process flow diagram for sales?

please answer my question


Do you have to pay sales tax for performing a service?

It depends on the State you live in.

Related Questions

What is a sales analysis report?

A sales analysis report basically shows the trends of sales that have occurred within a business over a period of time. This report will show you if sales are decreasing or increasing.


How do you write a sales report?

i went to supply pharmacuitical drugs and i have been as to write sales report


What should you learn from sales report?

your sales maybe?


How many nooks were sold in the latest sales report?

The latest sales report shows that 500 nooks were sold.


Could you pull up the latest sales report for the month?

Could you show me the most recent sales report for this month?


What is an example of a responsibility report generated by an accounting information system?

Responsibility reports --such as a weekly sales report for a regional sales manager


What is a review of literature report on sales promotion?

The review of literature report on sales promotion can be found by doing an internet search. The review of literature on sales promotion basically talks about various factors that affects the sales promotion.


How can you create a spreadsheet using sales invoice template?

how you can create a spreadsheet using sales invoice template


How was Car sales report worldwide for 2009?

BRILL


As an intern in a marketing department Rachel uses her laptop to get data off her company's computer network and then uses the data to create a report about weekly sales. She wants to ask a question a?

server


Could you please provide the data from the table labeled "Sales Report" for the month of October?

The data from the &quot;Sales Report&quot; table for the month of October is as follows: insert data here.


What is the purpose of the sales budget report?

The purpose of the sales budget report is to ascertain what the year's budget status would have on the next year's anticipated budget. In order to anticipate what the next year's sales might be, one needs to find out what the last year's sales were.The purpose of the sales budget report is to help plan for the future. The budget can be used to control expenditure and increase revenue for the next financial year.