Click here to Skip to main content
15,895,709 members
Articles / Programming Languages / C#

what is the wrong in the code?

Rate me:
Please Sign up or sign in to vote.
4.00/5 (1 vote)
31 Jan 2013CPOL 0  
You are doing Console.WriteLine("tot=" + res);I think the res in the above statement should be tot before int res = x * y;There is a lot wrong with your code, Console.Write("x="); Console.Write("y="); int x =...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
31 Jan 2013ẶȠǻ ŶắŚmiŋắ 1 alternative  
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace function_of_product{ class Program { static void Main(string[] args) { Console.Write("x="); Console.Write("y="); int x =...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Canada Canada
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions