Math, asked by milanpanda143, 1 month ago

Write a qbasic program to print the nos by 5's 5,10,15___50.​

Answers

Answered by rockyrocks1789640
0

Answer:

import java.util.Scanner;

public class Test1

public static void main(String args [])

{

Scanner in=new Scanner(System.in);

int n=50;

n=in.nextInt();

for(int i=5;i<=n;i=i+5)

System.out.println("Numbers from 5 to 50"+n)

}

Similar questions