- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 2
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
5 Posted Topics
[CODE]#include <iostream> #include <conio> #include <process> void main(){ int s; cout<<"Enter Your Choice :"<<endl; cout<<" Select 1 to draw a triangle"<<endl; cout<<"Select 2 to Exit"<<endl; cin>>s; switch(s){ case 1: {char c; int num; cout<<"Enter Integer Num:"; cin>>num; cout<<endl; cout<<"Enter symbol:"; cin>>c; cout<<endl; for(int j=0;j<=num;j++) {for(int i=0;i<=num;i++ ) if(i<=j) cout<<c; cout<<endl; …
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Task1._2_gradeConverter { /** *Program created October 2010 *This program allows the user to enter a numerical grade from 0 to 100, click the convert *or enter botton, and be astonished when the application …
using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication14 { class Program { static void Main(string[] args) { int counter = 0; int calChoi = 0; while (calChoi != 5 ) {//start while loop Console.WriteLine(); Console.WriteLine(); Console.WriteLine("Hello, please choose from the following calculations"); Console.WriteLine("(1) Add (2) Subtract (3) Multiply (4) Divide …
#include<iostream.h> #include<cstring.h> #include<conio.h> //using namespace std; void readFunction(char*,int&); void guessLetter(char&, int&); void checkLetter(char*, char*, char&, int&); int rightORwrong(char*, char*, char&, int&); void printSolution(char*, int&); int main() { char word[100], solution[100], letter; int length=0, maxtries=0; int i, guess; readFunction(word,maxtries); length = strlen(word); for(i=0;i<length;i++) { solution[i]='*'; } do { guessLetter(letter,maxtries); guess = …
#include <iostream> #include <string> #include <conio> using namespace std; bool isLeapYear (int year); int getCenturyValue (int year); int getYearValue (int year); int getMonthValue (int month, int year); void getInput (int day, int month, int year); int main() { int month, day, year, century, decade, weekday, leap_year, mvalue; char ans; string …
The End.
goldzero