Answer to Question #283590 in Visual Basic for tan

Question #283590

#include<stdio.h>




int main()



{



int z = 0;



int sum;



{



sum+=z;



z++



}



printf("%d",sum);



return



}



how in form of visual basic?

1
Expert's answer
2021-12-29T13:36:57-0500
Imports System.IO


Module Module1
    Sub Main()
        Dim z As Integer = 0
        Dim sum As Integer = 0
        sum += z
        z += 1
        Console.WriteLine(sum.ToString())
        Console.ReadLine()
    End Sub




End Module

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS