New Microsoft Office Word Document.docx

  • Uploaded by: Kush Bhushanwar
  • 0
  • 0
  • December 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View New Microsoft Office Word Document.docx as PDF for free.

More details

  • Words: 95
  • Pages: 4
18. write a program to print a number from 0 to 10 by using for loop #include #include void main() { clrscr(); int i; for(i=0;i<=10;i++) { cout<<"\nnumber is="<
19. write a program to print a number from 10 to 0 by using for loop

#include #include void main() { clrscr(); int i; for(i=10;i>=0;i--) { cout<<"\nnumber is="<
20.Write a number to print a table of any given number by using for loop #include #include void main()

{ clrscr(); int i,a,c; cout<<"enter number="; cin>>a; for(i=1;i<=10;i++) { c=a*i; cout<<"\ntable"<

Related Documents


More Documents from "Brian Underwood"