Question #283591

#include<stdio.h>





int main()




{




int z = 0;




int sum;




{




sum+=z;




z++




}




printf("%d",sum);




return




}




how in form of visual basic?

Expert's answer

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!

LATEST TUTORIALS
APPROVED BY CLIENTS