Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

How would one write a static method to compute the total number of cents in C#?

$
0
0

Hi I am new to C# and I have the following problem to solve, but I do not know where to start!

Write a static method to compute the total number of cents given a number of nickelsn and dimes d. Call this method twice from the Main method, each time with different arguments.


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>