using System; using System.Collections.Generic; using System.Linq; using System.Text;
namespace generate_even_No { class Program { //main function static void Main(string[] args) { for (int i = 22; i <= 40; i++) { if (i % 2 == 0) {//generate even No. 22 to 40 Console.WriteLine(i.ToString());//show numbers } } Console.ReadLine();//delay }
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments