SlideShare a Scribd company logo
C Program to Convert Days into Years, Weeks and
Days
Practice of c PROGRAMMING logics and concepts
Practice of c PROGRAMMING logics and concepts
Practice of c PROGRAMMING logics and concepts
C Program to find power of any number X^Y.
To find power we include the math.h header for the pow
function. We then use
pow(base, exponent)
to calculate base raised to the power of exponent.
Practice of c PROGRAMMING logics and concepts
Practice of c PROGRAMMING logics and concepts
C program to calculate total average and percentage of five
subjects
Example
Practice of c PROGRAMMING logics and concepts
Practice of c PROGRAMMING logics and concepts
C program to find angles of triangle if two angles are
given
Practice of c PROGRAMMING logics and concepts
Practice of c PROGRAMMING logics and concepts
Write a C program to input base and height of a triangle and find area of the triangle.
Logic to find area of a triangle in C program.
Practice of c PROGRAMMING logics and concepts
Practice of c PROGRAMMING logics and concepts
Write a C program to input principle, time and rate (P,T, R)
from user and find Simple Interest
Practice of c PROGRAMMING logics and concepts
Practice of c PROGRAMMING logics and concepts
Practice of c PROGRAMMING logics and concepts
Write a C Program to Calculate Compund Interest
Compound interest is the addition of interest to the principal sum of a
loan or deposit, or in other words, interest on interest. It is the result of
reinvesting interest, rather than paying it out, so that interest in the next
period is then earned on the principal sum plus previously-accumulated
interest. Compound interest is standard in finance and economics.
Compound interest may be contrasted with simple interest, where
interest is not added to the principal, so there is no compounding.
Practice of c PROGRAMMING logics and concepts

More Related Content

Similar to Practice of c PROGRAMMING logics and concepts (20)

PPT
nominal and effective interest rates for economics
lolahe3287
 
PDF
mathematics grade 11. general mathematic
ssuser948fbb1
 
PPT
Lo4b (nabil) breakeven analysis
Abdulaziz AlSuwaidi
 
PPT
INVESTMENT CHOICE “COMPARISON AND SELECTION AMONG ALTERNATIVES”
georgemalak922
 
PDF
exam6.pdf
AnilGhadge6
 
PPTX
Python expampless problems with output and reason
doramira833
 
PPT
Leland_Tarquin_Engineering_Economy_Chapter_4_Nominal_Effective_Interest_Rates...
ssuser1ba731
 
DOCX
Exercise P8.1. Derive a class Programmer from Employee. .docx
delciegreeks
 
PPTX
LECTURE-5-CAPITALIZED-COST-AMORTIZATION-GRADIENT.pptx
ragustilo27
 
PPT
Capital Structure
guest4f87c3
 
PPTX
Lecture 4 Engineering Economics a detail lecutrer.pptx
abbaskhan9063
 
PPTX
General Mathematics Grade 11 SIMPLE ANNUITY
JamesMark54
 
DOCX
Calculations for your Equity Analysis assignmentTo start, put .docx
RAHUL126667
 
PDF
Cs8261 cp lab syllabus
Palani Chamy
 
PDF
Proposed Exam
Jasour Obeidat
 
PDF
8 150316005531-conversion-gate01
abidiqbal55
 
PDF
8. Rate of return analysis
Mohsin Siddique
 
PPT
Chapter 13 breakeven analysis
Bich Lien Pham
 
PPT
Chapter 13 breakeven analysis
Bich Lien Pham
 
PDF
Contemporary Business Mathematics Canadian 9th Edition Hummelbrunner Solution...
schirazillur
 
nominal and effective interest rates for economics
lolahe3287
 
mathematics grade 11. general mathematic
ssuser948fbb1
 
Lo4b (nabil) breakeven analysis
Abdulaziz AlSuwaidi
 
INVESTMENT CHOICE “COMPARISON AND SELECTION AMONG ALTERNATIVES”
georgemalak922
 
exam6.pdf
AnilGhadge6
 
Python expampless problems with output and reason
doramira833
 
Leland_Tarquin_Engineering_Economy_Chapter_4_Nominal_Effective_Interest_Rates...
ssuser1ba731
 
Exercise P8.1. Derive a class Programmer from Employee. .docx
delciegreeks
 
LECTURE-5-CAPITALIZED-COST-AMORTIZATION-GRADIENT.pptx
ragustilo27
 
Capital Structure
guest4f87c3
 
Lecture 4 Engineering Economics a detail lecutrer.pptx
abbaskhan9063
 
General Mathematics Grade 11 SIMPLE ANNUITY
JamesMark54
 
Calculations for your Equity Analysis assignmentTo start, put .docx
RAHUL126667
 
Cs8261 cp lab syllabus
Palani Chamy
 
Proposed Exam
Jasour Obeidat
 
8 150316005531-conversion-gate01
abidiqbal55
 
8. Rate of return analysis
Mohsin Siddique
 
Chapter 13 breakeven analysis
Bich Lien Pham
 
Chapter 13 breakeven analysis
Bich Lien Pham
 
Contemporary Business Mathematics Canadian 9th Edition Hummelbrunner Solution...
schirazillur
 

More from anjanasharma77573 (20)

PPTX
In- Built Math function in java script..
anjanasharma77573
 
PPTX
In Built Math functions in java script..
anjanasharma77573
 
PPTX
What is tidyverse in R languages and different packages
anjanasharma77573
 
PPTX
basic of data science and big data......
anjanasharma77573
 
PPTX
What is big data and 5'v of big data....
anjanasharma77573
 
PPTX
Basic of data and different type of data
anjanasharma77573
 
PPTX
What is Big Data , 5'v of BIG DATA and Challenges
anjanasharma77573
 
PPTX
Basic of data science, and type of data.
anjanasharma77573
 
PPTX
Role of Infogram, power bi and google charts
anjanasharma77573
 
PPTX
DATA VISUALIZATION TOOLS e.g Power bi..
anjanasharma77573
 
PPTX
type of vector data in vectors and geometries
anjanasharma77573
 
PPTX
Introduction to vectors and geometry - ..
anjanasharma77573
 
PPTX
type of vector data in vectors and geometry
anjanasharma77573
 
PPTX
Introduction to vectors and geometry -....
anjanasharma77573
 
PPTX
basic of SQL constraints in database management system
anjanasharma77573
 
PPTX
SQL subqueries in database management system
anjanasharma77573
 
PPTX
practices of C programming function concepts
anjanasharma77573
 
PPTX
programming concepts with c ++..........
anjanasharma77573
 
PPTX
basic of c programming practicals.......
anjanasharma77573
 
PPTX
Detailed concept of function in c programming
anjanasharma77573
 
In- Built Math function in java script..
anjanasharma77573
 
In Built Math functions in java script..
anjanasharma77573
 
What is tidyverse in R languages and different packages
anjanasharma77573
 
basic of data science and big data......
anjanasharma77573
 
What is big data and 5'v of big data....
anjanasharma77573
 
Basic of data and different type of data
anjanasharma77573
 
What is Big Data , 5'v of BIG DATA and Challenges
anjanasharma77573
 
Basic of data science, and type of data.
anjanasharma77573
 
Role of Infogram, power bi and google charts
anjanasharma77573
 
DATA VISUALIZATION TOOLS e.g Power bi..
anjanasharma77573
 
type of vector data in vectors and geometries
anjanasharma77573
 
Introduction to vectors and geometry - ..
anjanasharma77573
 
type of vector data in vectors and geometry
anjanasharma77573
 
Introduction to vectors and geometry -....
anjanasharma77573
 
basic of SQL constraints in database management system
anjanasharma77573
 
SQL subqueries in database management system
anjanasharma77573
 
practices of C programming function concepts
anjanasharma77573
 
programming concepts with c ++..........
anjanasharma77573
 
basic of c programming practicals.......
anjanasharma77573
 
Detailed concept of function in c programming
anjanasharma77573
 
Ad

Recently uploaded (20)

PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
Advancing WebDriver BiDi support in WebKit
Igalia
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Advancing WebDriver BiDi support in WebKit
Igalia
 
July Patch Tuesday
Ivanti
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
Ad

Practice of c PROGRAMMING logics and concepts

  • 1. C Program to Convert Days into Years, Weeks and Days
  • 5. C Program to find power of any number X^Y. To find power we include the math.h header for the pow function. We then use pow(base, exponent) to calculate base raised to the power of exponent.
  • 8. C program to calculate total average and percentage of five subjects Example
  • 11. C program to find angles of triangle if two angles are given
  • 14. Write a C program to input base and height of a triangle and find area of the triangle. Logic to find area of a triangle in C program.
  • 17. Write a C program to input principle, time and rate (P,T, R) from user and find Simple Interest
  • 21. Write a C Program to Calculate Compund Interest Compound interest is the addition of interest to the principal sum of a loan or deposit, or in other words, interest on interest. It is the result of reinvesting interest, rather than paying it out, so that interest in the next period is then earned on the principal sum plus previously-accumulated interest. Compound interest is standard in finance and economics. Compound interest may be contrasted with simple interest, where interest is not added to the principal, so there is no compounding.