Posts

Showing posts from September, 2021

Learning stage | c++ programs

  #include   <iostream> using   namespace   std ; int   main ()  { /*//Program to calculate the discount percentage of acutal cost as well as actuall price. int price = 90000; int discount_percentage = (90000/100)*7; int discounted_price= 90000-discount_percentage; cout <<discounted_price;  return 0;*/  // Q- Priya wants to write a program to input marks in three subjects out of 100 and  // calculate and display teh total  marks and percentage . How should she do this task ?           int    ganit , science  ,  social ;      cout << "Enter the marks of...