Visual Studio and Visual Basic Programming in C#
I am having trouble with these two programs I keep getting this error for both programs and I don't know how to fix it
ERROR Cannot declare namespace in script code
1. Write a console application called DayDreaming that declares a minutes variable to represent time spent daydreaming on the job. Assign a value to that variable in your program then display the value in hours and minutes. (For example, 122 minutes would be displayed as "2 hours and 2 minutes.")
2. Write a console application called ScoreMonger that declares five variables to hold test scores. In your program, assign values to each variable then compute an average of the scores and display the average of the test scores to one decimal place.