namespace Galagate_bscs2b_my15th
{
class Program
{
static void Main(string[] args)
{
string name, live, age, myfather, mymother;
Console.WriteLine("What is your name:");
name = Console.ReadLine();
Console.WriteLine("Where do you live:");
live = Console.ReadLine();
Console.WriteLine("How old are you?");
age = Console.ReadLine();
Console.WriteLine("Who is your father?");
myfather = Console.ReadLine();
Console.WriteLine("Who is your mother");
mymother = Console.ReadLine();
Console.Write("\n \n \n \n \n");
Console.Write("My name is {0} ", name);
Console.Write("Iam {0}.", age);
Console.Write("I live in {0}.", live);
Console.Write("My father's name {0}.", myfather);
Console.Write("My Mother's name is {0}.", mymother);
Console.ReadKey();
}
}
}
CS242 Programming Language
Miyerkules, Marso 1, 2017
Lunes, Pebrero 27, 2017
Galagate_Myactivity13th
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Subject Code: CS242");
Console.WriteLine("Subject Title: Programming Language");
Console.WriteLine("Name: Via Galaagte");
Console.WriteLine("Age: 21");
Console.WriteLine("Birth Date: August 11, 1995");
Console.WriteLine("Year& Section: BSCS 2B");
Console.WriteLine("Subject Instructor: Clinton Reducto");
Console.ReadKey();
}
}
}
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Subject Code: CS242");
Console.WriteLine("Subject Title: Programming Language");
Console.WriteLine("Name: Via Galaagte");
Console.WriteLine("Age: 21");
Console.WriteLine("Birth Date: August 11, 1995");
Console.WriteLine("Year& Section: BSCS 2B");
Console.WriteLine("Subject Instructor: Clinton Reducto");
Console.ReadKey();
}
}
}
Huwebes, Pebrero 23, 2017
Activity14th
using System;
using System.Collections.Generic;
using System. Linq;
using System.Text;
using System.Threading.Tasks;
namespace Galagate_My14thCSharp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Subject Code: CS242");
Console.WriteLine("Subject Title: Programming Language");
Console.WriteLine("Name: Via Galaagte");
Console.WriteLine("Age: 21");
Console.WriteLine("Birth Date: August 11, 1995");
Console.WriteLine("Year& Section: BSCS 2B");
Console.WriteLine("Subject Instructor: Clinton Reducto");
Console.ReadKey();
int number, number1;
Console.WriteLine("Enter an integer:");
number = int.Parse(Console.ReadLine());
Console.WriteLine("You entered: {0}", number);
Console.WriteLine("Enter an integer:");
number = int.Parse(Console.ReadLine());
Console.WriteLine("You entered: {0}", number);
Console.ReadKey();
}
}
}
using System.Collections.Generic;
using System. Linq;
using System.Text;
using System.Threading.Tasks;
namespace Galagate_My14thCSharp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Subject Code: CS242");
Console.WriteLine("Subject Title: Programming Language");
Console.WriteLine("Name: Via Galaagte");
Console.WriteLine("Age: 21");
Console.WriteLine("Birth Date: August 11, 1995");
Console.WriteLine("Year& Section: BSCS 2B");
Console.WriteLine("Subject Instructor: Clinton Reducto");
Console.ReadKey();
int number, number1;
Console.WriteLine("Enter an integer:");
number = int.Parse(Console.ReadLine());
Console.WriteLine("You entered: {0}", number);
Console.WriteLine("Enter an integer:");
number = int.Parse(Console.ReadLine());
Console.WriteLine("You entered: {0}", number);
Console.ReadKey();
}
}
}
Activity12th
#include <iostream>
#include<string>
using namespace std;
int main (){
cout<<"\n==========================================";
cout << "\n Name: Via Galagate ";
cout << "\n Subject Title: Programming Language ";
cout << "\n Subject Code: CS242 ";
cout << "\n Activity NO.: 12 ";
cout << "\n Instructor: Clinton Reducto ";
cout<<"\n==========================================";
cout<<"\n \n \n";
int grade;
cout<<" Enter Your Grade in CS242:";
cin >>grade;
if (grade>=98 && grade<=100){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 1 :\n";
cout<<" Excellent ! :\n";
cout<<"========================================\n";
}
else if (grade>=97 && grade<=97){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 1.25 :\n";
cout<<": Very Good! :\n";
cout<<"========================================\n";
}
else if (grade>=92 && grade<=94){
cout<<"======================================\n";
cout<<": Grade Point Equivalent: 1.5 : \n";
cout<<": Very Good! :\n";
cout<<"========================================\n";
}
else if (grade>=89 && grade<=91){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 1.75 : \n";
cout<<": Good! :\n";
cout<<"========================================\n";
}
else if (grade>=86 && grade<=88){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 2 : \n";
cout<<": Good! :\n";
cout<<"========================================\n";
}
else if (grade>=83 && grade<=85){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 2.25 : \n";
cout<<": Good! :\n";
cout<<"========================================\n";
}
else if (grade>=80 && grade<=82){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 2.5 : \n";
cout<<": Fair! :\n";
cout<<"========================================\n";
}
else if (grade>=77 && grade<=79){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 2.75 :\n";
cout<<": Fair! :\n";
cout<<"========================================\n";
}
else if (grade>=75 && grade<=77){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 3 :\n ";
cout<<": Passed :\n";
cout<<"========================================\n";
}
else{
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 5.00 : \n";
cout<<": Failed :\n";
cout<<"========================================\n";
}
return 0;
}
#include<string>
using namespace std;
int main (){
cout<<"\n==========================================";
cout << "\n Name: Via Galagate ";
cout << "\n Subject Title: Programming Language ";
cout << "\n Subject Code: CS242 ";
cout << "\n Activity NO.: 12 ";
cout << "\n Instructor: Clinton Reducto ";
cout<<"\n==========================================";
cout<<"\n \n \n";
int grade;
cout<<" Enter Your Grade in CS242:";
cin >>grade;
if (grade>=98 && grade<=100){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 1 :\n";
cout<<" Excellent ! :\n";
cout<<"========================================\n";
}
else if (grade>=97 && grade<=97){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 1.25 :\n";
cout<<": Very Good! :\n";
cout<<"========================================\n";
}
else if (grade>=92 && grade<=94){
cout<<"======================================\n";
cout<<": Grade Point Equivalent: 1.5 : \n";
cout<<": Very Good! :\n";
cout<<"========================================\n";
}
else if (grade>=89 && grade<=91){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 1.75 : \n";
cout<<": Good! :\n";
cout<<"========================================\n";
}
else if (grade>=86 && grade<=88){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 2 : \n";
cout<<": Good! :\n";
cout<<"========================================\n";
}
else if (grade>=83 && grade<=85){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 2.25 : \n";
cout<<": Good! :\n";
cout<<"========================================\n";
}
else if (grade>=80 && grade<=82){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 2.5 : \n";
cout<<": Fair! :\n";
cout<<"========================================\n";
}
else if (grade>=77 && grade<=79){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 2.75 :\n";
cout<<": Fair! :\n";
cout<<"========================================\n";
}
else if (grade>=75 && grade<=77){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 3 :\n ";
cout<<": Passed :\n";
cout<<"========================================\n";
}
else{
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 5.00 : \n";
cout<<": Failed :\n";
cout<<"========================================\n";
}
return 0;
}
Activity11th
#include <iostream>
#include<string>
using namespace std;
int main (){
cout<<"\n==========================================";
cout << "\n Name: Via Galagate ";
cout << "\n Subject Title: Programming Language ";
cout << "\n Subject Code: CS242 ";
cout << "\n Activity NO.: 11 ";
cout << "\n Instructor: Clinton Reducto ";
cout<<"\n==========================================";
cout<<"\n \n \n";
int age;
cout<<"Enter the Age : \n";
cin >> age;
if(age>17)
{
cout<<"=========================== \n";
cout<<" Eligible to vote \n";
cout<<"=========================== \n";
}
else
{
cout<<"========================================== \n";
cout<<" NOt Eligible to vote == \n " ;
cout<<"========================================== \n";
cout<<"\n \n";
}
return 0;
}
#include<string>
using namespace std;
int main (){
cout<<"\n==========================================";
cout << "\n Name: Via Galagate ";
cout << "\n Subject Title: Programming Language ";
cout << "\n Subject Code: CS242 ";
cout << "\n Activity NO.: 11 ";
cout << "\n Instructor: Clinton Reducto ";
cout<<"\n==========================================";
cout<<"\n \n \n";
int age;
cout<<"Enter the Age : \n";
cin >> age;
if(age>17)
{
cout<<"=========================== \n";
cout<<" Eligible to vote \n";
cout<<"=========================== \n";
}
else
{
cout<<"========================================== \n";
cout<<" NOt Eligible to vote == \n " ;
cout<<"========================================== \n";
cout<<"\n \n";
}
return 0;
}
Activity10th
#include <iostream>
#include<string>
using namespace std;
int main (){
string myName,livein,howold,myfather,mymother;
cout << "What's your name? ";
getline (cin,myName);
cout << "Where do you live? ";
getline (cin,livein);
cout << "How old are you? ";
getline (cin,howold);
cout << "Who is your father? ";
getline (cin,myfather);
cout << "WHO is your mother? ";
getline (cin,mymother);
cout<<" My name is " <<myName <<".";
cout << " I live in " <<livein <<".";
cout << " I am 22 years old "<<".";
cout << " My Father's name is " <<myfather <<".";
cout << " My Mother's name is " <<mymother <<".";
return 0;
}
#include<string>
using namespace std;
int main (){
string myName,livein,howold,myfather,mymother;
cout << "What's your name? ";
getline (cin,myName);
cout << "Where do you live? ";
getline (cin,livein);
cout << "How old are you? ";
getline (cin,howold);
cout << "Who is your father? ";
getline (cin,myfather);
cout << "WHO is your mother? ";
getline (cin,mymother);
cout<<" My name is " <<myName <<".";
cout << " I live in " <<livein <<".";
cout << " I am 22 years old "<<".";
cout << " My Father's name is " <<myfather <<".";
cout << " My Mother's name is " <<mymother <<".";
return 0;
}
Activity9th
#include <iostream>
using namespace std;
int main(){
int number;
cout << "\n Subject Code: CS242 ";
cout << "\n Subject Title: Programming Language ";
cout << "\n Course/YEAR: BSCS 2B ";
cout << "\n Activity NO.: 9 ";
cout << "\n Instructor: Clinton Reducto ";
cout << " \n Enter an integer: ";
cin >> number;
cout << " \n You entered" << number;
cout << " \n Enter an integer: ";
cin >> number;
cout << " \n You entered " << number;
return 0;
}
using namespace std;
int main(){
int number;
cout << "\n Subject Code: CS242 ";
cout << "\n Subject Title: Programming Language ";
cout << "\n Course/YEAR: BSCS 2B ";
cout << "\n Activity NO.: 9 ";
cout << "\n Instructor: Clinton Reducto ";
cout << " \n Enter an integer: ";
cin >> number;
cout << " \n You entered" << number;
cout << " \n Enter an integer: ";
cin >> number;
cout << " \n You entered " << number;
return 0;
}
Mag-subscribe sa:
Mga Post (Atom)