program in c to print 1 to 100 without using loop
Answer Posted / darshana
Sub Main()
Dim i, j As Integer
Console.WriteLine("enter i numbers")
i = Console.ReadLine()
Console.WriteLine("enter j numbers")
j = Console.ReadLine()
Console.WriteLine()
new1(i, j)
End Sub
Sub new1(ByVal i As Integer, ByVal j As Integer)
Dim num As Integer = i
If num > j Then
Console.WriteLine("end")
Else
Console.WriteLine(num)
num = num + 1
new1(num, j)
End If
End Sub
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.
What would be an example of a structure analogous to structure c?
How many data structures are there in c?
What are c identifiers?
How can I call fortran?
How can I manipulate strings of multibyte characters?
Explain #pragma statements.
What is the full form of getch?
what is the format specifier for printing a pointer value?
How is actual parameter different from the formal parameter?
Can include files be nested? How many levels deep can include files be nested?
List the difference between a While & Do While loops?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
Is null valid for pointers to functions?
what is the significance of static storage class specifier?