Converting $ into rs. - c# program, DOT NET Programming

Assignment Help:

Converting $ into Rs.  - C# Program

I am a learner of C# language and i am struggling with how to convert $ into Rs. in C#. Can you have any code examples for this?


Related Discussions:- Converting $ into rs. - c# program

How do i force the dispose method to be called automatically, How do I forc...

How do I force the Dispose method to be called automatically, as clients can forget to call Dispose method? To Call the Dispose method in the Finalize method and in the Dispose

Want microsoft crm dynamics crm 2011 or 2013 programmer, Want Microsoft CRM...

Want Microsoft CRM Dynamics CRM 2011 or 2013 programmer Project Description: Need to do customizations in CRM itself and integrate CRM 2011 with SAP Business One and HTML web

What is the scope of public and private class, What is the Scope of public/...

What is the Scope of public/private/friend/protected/protected friend? Scope of public/private/friend/protected/protected friend Visual Basic/Visual C# Public/public all

Creating dynamic web pages, As you have probably realized by now, Web pages...

As you have probably realized by now, Web pages are much more useful when they are dynamic. In Internet terminology, the word dynamic means several things. Primarily, it refers to

Explain keywords with example, Explain keywords with example. Keywords...

Explain keywords with example. Keywords are those words that are reserved to be used for an exact task. These words cannot be used as identifiers. You cannot use a keyword to

What is an activity, What is an activity? In Windows Workflow Foundatio...

What is an activity? In Windows Workflow Foundation 4.0, an activity is the basic unit of composition and implementation of a workflow. Each activity in a workflow consists of

I need to develop a project of call accounting and billing, Project Descrip...

Project Description: General information for the business: Call Accounting and Billing Kind of development: New program from scratch Description of each module: Call Accou

How to creating a key pair, How to Creating a Key Pair ? You can create...

How to Creating a Key Pair ? You can create a key pair using the Strong Name tool (Sn.exe). Key pair files usually have an .snk extension. To create a key pair At the comman

State the differences between the dispose and finalize, State the differenc...

State the differences between the Dispose () and Finalize(). CLR uses the Dispose and Finalize methods to perform garbage collection of run-time objects of .NET applications.

Jack

2/12/2013 12:15:14 AM

using System;  

class DollarToRupees

{

  public static void Main()

 {

   float dol,rs,current;

   int i;  

  Console.Write("What is the current value of 1 $ as per INDIAN Rs. : ");

  current = float.Parse(Console.ReadLine());  

  Console.WriteLine(""); // Blank Line  

   for (i=1;i<=5;i++)

  {

   Console.Write("Enter value " + i + " in Dollars : ");

   dol = float.Parse(Console.ReadLine());

   rs = dol * current;

   Console.WriteLine(dol + " $ = " +rs + "Rs.");

   Console.WriteLine(""); // Blank Line

  }  

  Console.ReadLine();

 }

}

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd