Write a program that displays the multiplication table of 8. Using the do-while Loop.

******** In Algorithm ********

Algorithm Variables i: integer Begin i ← 0 do write("8*",i,"=",i*8) i ← i+1 while i <= 10 End Result ==> 8*0=0 8*1=8 8*2=16 ........... 8*10=80

******** In C ********

#include <stdio.h> int main(){ int i=0; do{ printf ("8 x %d = %d \n",i,i*8); i++; }while(i<10); return 0; }

******** In C++ ********

#include <iostream> using namespace std; int main(){ int i=0; do{ cout<<"8 x "<<i<<" = "<<i*8<<endl; i++; }while(i<10); return 0; }

******** in JAVA ********

import java.util.Scanner;
class Main {
public static void main(String[] args){
int i=0;
  do{
  System.out.print("8 x "+i+" ="+i*8+"\n"); i++;
   }while(i<10);
}
}


********  in C# ********

using System;
public class Ex23 {
public static void Main(string[] args)
{ int i=0;
  do{
  Console.Write("8 x "+i+" ="+i*8+"\n"); i++;
   }while(i<10);
}
}