Preview

C Programms

Good Essays
Open Document
Open Document
1942 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
C Programms
C programs
1. Program to print text 2.Program To Read Two Numbers And Print The Sum Of Given Two Numbers. 3.Program To Accept Student Roll No, Marks in 3 Subjects and Calculate Total, Average and Print it. 4.Program To Read Three Numbers And Print The Biggest Of Given Three Numbers 5.Program To Read A Number And Find Whether The Given Number Is Even Or Odd. 6.Program to accept a year and check whether the given year IS leap year or not. 7.Individual Digits 8. Program to accept a three digit number and print the sum of individual digits. 9. Program to accept a number and check the given number is Armstrong or not. 10. Program to print ODD numbers from 1 to 10 11. Program to print natural numbers from 1 to 10 in Reverse 12. Program to print sum of the natural numbers from 1 to 10. 13. Program to accept a number and print mathematical table of the given no. 14. Program to print 1 to 10 mathematical tables . 15. Program to print fibonacci series . 16. Program to print numeric pyramid 17. Program to print numerical pyramid. 18. Program to print numerical diamond. 19. Program to print character pyramid. 20. Program to print character diamond. 21. Program to find biggest of two no by using ternary numbers 22. Program to find biggest of four no by using ternary numbers 23. Program to print smallest of four no by using ternary operators 24. Program to accept a year and check the given year is leap or not by using ternary 25. Program to accept a character in the uppercase and print in lower case. 26. Program to accept a character in any case and print in another case. 27. Program to natural number from 1 to 10 by using while loop. 28. Program to accept a string and print it by using the while loop. 29. Program to accept a string in upper case and print it by lower case. 30. Program to accept a string in any case and print it by another case . 31. Program to accept a string print each word in new line. 32. Program to accept a string and count no of capital letters, no. of

You May Also Find These Documents Helpful

  • Powerful Essays

    The purpose of this Lab. is to familiarize student how to solve practical problems programmatically; they will practice on elementary programming using primitive data types, variables, constants, operators, expressions, and input and output. Also, they will learn how to diagnose errors that may occur when a program is compiled or executed. There are some exercises, through which they will understand the concept learn in this chapter.…

    • 2338 Words
    • 10 Pages
    Powerful Essays
  • Satisfactory Essays

    unit 7 assignment 1

    • 431 Words
    • 2 Pages

    7. Convert the While loop in the following code to a Do-While loop: int x;…

    • 431 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Pt1420 Unit 7 Study Guide

    • 582 Words
    • 3 Pages

    12.Write a program to put the sum 100+95+90+..........+5 in AX. Then display the result. Page: 114…

    • 582 Words
    • 3 Pages
    Satisfactory Essays
  • Better Essays

    Nt1310 Unit 1 Assignment

    • 1994 Words
    • 8 Pages

    * The binary numbering system plays a central role in how information of all kinds is stored on the computer. Understanding binary can lift a lot of the mysteries from computers because at a fundamental level they're really just machines for flipping binary digits on and off. There are several activities on binary numbers in this document, all simple enough that they can be used to teach the binary system to anyone who can count! Generally children learn the binary system very quickly using this approach, but we find that many adults are also excited when they finally understand what bits…

    • 1994 Words
    • 8 Pages
    Better Essays
  • Good Essays

    Programing Problems

    • 721 Words
    • 3 Pages

    IT 210 13 Programming Problems Pseudocode for chapter 2 checkpoint Frank T. Hartman IT 210 13 Programming Problems Pseudocode for chapter 2 checkpoint Frank T. Hartman Programming Problem 1 Main Module Declare SalesAmount As Real Declare CommissionRate As Real Declare CommissionEarned…

    • 721 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14 Chapter 15 Chapter 16 Chapter 17 Chapter 18 Chapter 19 Chapter 20 Chapter 21 Chapter 22 Chapter 23 Chapter 24 Chapter 25 Chapter 26 Chapter 27 An Introduction to Hardware, Software, and the Internet An Introduction to Software Development Objects and Classes Algorithms Java Syntax and Style Data Types, Variables, and Arithmetic Boolean Expressions and if-else Statements Iterative Statements: while, for, do–while Implementing Classes and Using Objects Strings Class Hierarchies and Interfaces Arrays…

    • 3908 Words
    • 16 Pages
    Powerful Essays
  • Satisfactory Essays

    code program

    • 317 Words
    • 2 Pages

    (Compilation screenshot) - Insert here a screenshot of the result of compiling the above source code: NetBeans IDE 7.3.1 compiles but it did not go to the screen so I could see it, this is why I sent you a message yesterday to let you know this. But the program did run without any problems.…

    • 317 Words
    • 2 Pages
    Satisfactory Essays
  • Best Essays

    Program Summary

    • 2232 Words
    • 9 Pages

    Retrieved January 8, 2009, from Axia College, Week 1 Reading, aXcess, HSM 270 ' '…

    • 2232 Words
    • 9 Pages
    Best Essays
  • Good Essays

    Assignment 3 CS 113

    • 804 Words
    • 5 Pages

    2. accepting user input (supplied at the keyboard) which are numbers that it checks to see…

    • 804 Words
    • 5 Pages
    Good Essays
  • Good Essays

    PT1420 Assign7

    • 685 Words
    • 4 Pages

    2. Design a Do-While loop that asks the user to enter two numbers. The numbers should be added and the sum displayed. The loop should ask the user if he or she wishes to perform the operation again. If so, the loop should repeat, otherwise it should terminate.…

    • 685 Words
    • 4 Pages
    Good Essays
  • Good Essays

    an int called x, if( x == 100)… //given a double called num, while(num >= 0)… //given a boolean called done if(done == true)……

    • 464 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Programming fundamentals

    • 299 Words
    • 2 Pages

    Note. This assignment is cumulative and the information and results will be used in the following weeks.…

    • 299 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    2- Write a program converts a temperature from Celsius to Fahrenheit. Use the following formula: F = 1.8 x C + 32 .…

    • 1616 Words
    • 7 Pages
    Good Essays
  • Satisfactory Essays

    c ++ program

    • 252 Words
    • 1 Page

    In the statement cin >> y;, y can only be an int or a double variable.…

    • 252 Words
    • 1 Page
    Satisfactory Essays