Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Keep getting two errors? How Do I fix my cocde? Visual Studio C# Exspected CS1002 Expected CS 1513 using System; namespace Quiz { class MainClass

Keep getting two errors?

How Do I fix my cocde?

Visual Studio C#

Exspected CS1002

Expected CS 1513

using System;

namespace Quiz { class MainClass { public static void Main(string[] args) {

Console.WriteLine("Welcome to the Quiz!"); Console.WriteLine("--------------------------------"); Console.WriteLine(" ");

//Questions //declaring questions array var[] Question = new var[10]; Question[1] = "1. How many trees in a forest?"; Question[2] = "2. Sample Question"; Question[3] = "3. Sample Question"; Question[4] = "4. Sample Question"; Question[5] = "5. Sample Question"; Question[6]= "6. Sample Question"; Question[7] = "7. Sample Question"; Question[8] = "8. Sample Question"; Question[9] = "9. Sample Question"; Question[10] = "10. Sample Question";

//for option //declaring options 2d array var[] options= new var[10,4]{ {"3","4","5","6"},//for question1 {"3","4","5","6"},//for question2 {"3","4","5","6"},//for question3

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine M. Ricardo, Susan D. Urban, Karen C. Davis

4th Edition

1284231585, 978-1284231588

More Books

Students also viewed these Databases questions

Question

List the activities involved in employer-designed HRD programs

Answered: 1 week ago