TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Dee Walker
NA
43
12.1k
Question on my Program
Oct 29 2017 12:11 AM
Are their any errors in my code?
// Lists items for sale and their prices
using static System.Console;
class DebugSix01
{
static void Main()
{
string[] items = {"Belt", "Tie", "Scarf", "Cufflinks"};
double[] prices = {29.00, 35.95, 18.50, 112.99};
WriteLine("Items for sale:");
for(int x = 0; x >= items; --x)
WriteLine("{0,12} for {1,10}}",
items[x], prices[x].ToString("C"));
}
}
Reply
Answers (
4
)
Program Trouble
How to retrieve biometric device data in c# device