filmov
tv
Assignment 1 ,, CS411 visual programming

Показать описание
subscribe my channel for further Assignment or Quizzes.
Assignment solution code download
//waqar ali
//mc180400892
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace cs411
{
class Program
{
static void Main(string[] args)
{
//creating objects of class "Student" for concatnation & power
Student num1 = new Student();
Student num2 = new Student();
Student num3 = new Student();
Student num4 = new Student();
//code for desire result
num3 = num1 + num2;
num4 = num1 * num2;
//to print student id
// Write your id here
Console.WriteLine("MY vu id bc150401247");
//Printing 1st function"+"
//printing 2nd function "*"
Console.ReadKey();
}
}
class Student
{
// put here two last digits of your id
public int secondlastdigit = 4;
public int Lastdigit = 7;
public String concat = null;
public double pwr = 0;
// code for * operator to take power of a number
public static Student operator *(Student s1, Student s2)
{
Student s3 = new Student();
return s3;
}
// code for + operator to concatenate to two numbers
public static Student operator +(Student s1, Student s2)
{
Student s3 = new Student();
return s3;
}
}
}
-~-~~-~~~-~~-~-
Please watch: "How Ro Remove Emojis From Pictures |Emoji Remover From Pictures |Emoji Ko Kaise Hataye |2020|"
-~-~~-~~~-~~-~-
Assignment solution code download
//waqar ali
//mc180400892
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace cs411
{
class Program
{
static void Main(string[] args)
{
//creating objects of class "Student" for concatnation & power
Student num1 = new Student();
Student num2 = new Student();
Student num3 = new Student();
Student num4 = new Student();
//code for desire result
num3 = num1 + num2;
num4 = num1 * num2;
//to print student id
// Write your id here
Console.WriteLine("MY vu id bc150401247");
//Printing 1st function"+"
//printing 2nd function "*"
Console.ReadKey();
}
}
class Student
{
// put here two last digits of your id
public int secondlastdigit = 4;
public int Lastdigit = 7;
public String concat = null;
public double pwr = 0;
// code for * operator to take power of a number
public static Student operator *(Student s1, Student s2)
{
Student s3 = new Student();
return s3;
}
// code for + operator to concatenate to two numbers
public static Student operator +(Student s1, Student s2)
{
Student s3 = new Student();
return s3;
}
}
}
-~-~~-~~~-~~-~-
Please watch: "How Ro Remove Emojis From Pictures |Emoji Remover From Pictures |Emoji Ko Kaise Hataye |2020|"
-~-~~-~~~-~~-~-