Jump to content

I had a good idea: Hello, PokeMMO!


Recommended Posts

#include <iostream>
using namespace std;


int main()
{
    cout << Hello, PokeMMO!",
    return 0
  }

Nothing else,just for fun

I hope I can see more people can show what they have learned something interesting, such as drawing it with code XD

 

I used C++, im new xD

If u wrote one, feel free to send it here,and tell us what kind of code are you using

(the best is telling us a good IDE to run it easily XD)

I dont think many people will send it, but it's just for entertainment. I hope I can learn something from it

Link to comment
namespace HelloPokeMMO;

internal class Program
{
    static void Main(string[] args)
    {
        Console.WriteLine("Hello, PokeMMO!");
    }
}


You mean like this?
I use C# and Visual Studio. I'm taking a course at the moment to learn it from home. I'm sick of my old job

Link to comment
1 minute ago, MajoraAKC said:
namespace HelloPokeMMO;

internal class Program
{
    static void Main(string[] args)
    {
        Console.WriteLine("Hello, PokeMMO!");
    }
}


You mean like this?
I use C# and Visual Studio. I'm taking a course at the moment to learn it from home. I'm sick of my old job

Yes!thx for reply

Btw,im using Visual Studio too (VS2017?xd)

Link to comment
7 minutes ago, MajoraAKC said:
namespace HelloPokeMMO;

internal class Program
{
    static void Main(string[] args)
    {
        Console.WriteLine("Hello, PokeMMO!");
    }
}


You mean like this?
I use C# and Visual Studio. I'm taking a course at the moment to learn it from home. I'm sick of my old job

But i think not only words,add some programming animation will be cool

(unlucky,i can only use Scratch to make some programming animation,damn)

Link to comment
12 minutes ago, MajoraAKC said:
namespace HelloPokeMMO;

internal class Program
{
    static void Main(string[] args)
    {
        Console.WriteLine("Hello, PokeMMO!");
    }
}


You mean like this?
I use C# and Visual Studio. I'm taking a course at the moment to learn it from home. I'm sick of my old job

Oh,why did it tell me error?

Link to comment
On 7/12/2022 at 4:26 PM, Thekingofglory said:

Yes!thx for reply

Btw,im using Visual Studio too (VS2017?xd)

I'm on VS2022. Upgrade is free!

 

Edit; Haha VS2022 not VS 2020

 

On 7/12/2022 at 4:31 PM, Thekingofglory said:

But i think not only words,add some programming animation will be cool

(unlucky,i can only use Scratch to make some programming animation,damn)

Haha I'm not that advanced yet. But I will get there eventually 

Edited by MajoraAKC
Link to comment
#include<iostream>

using namespace std;

int main()
{
	int n1, n2;
	char A = 'a'; 
	char S = 's';
	char M = 'm';
	char D = 'd';
	char Op;
	char xd;
	cout<<"Basic Calculator"<<endl;
	cout<<"a for additions, s for substractions, m for multiplications and d to divide"<<endl;
	cout<<"Insert a number: ";cin>>n1;
	cout<<"Insert another number: ";cin>>n2;
	cout<<"Wich operation you want to do? ";cin>>Op;
	if(Op == A){
		cout<<"The result is: "<<n1+n2;
	}	
	else if(Op == S){
		cout<<"The result is: "<<n1+n2;		
	}
	else if(Op == M){
		cout<<"The result is: "<<n1*n2;
    }
    else if(Op == D){
		cout<<"The result is: "<<n1/n2;
    }
    cin>>xd;
	return 0;
	}

A basic calculator, the first c code i made

Link to comment
26分钟前,XxLoydxX 说:
#include<iostream>

using namespace std;

int main()
{
	int n1, n2;
	char A = 'a'; 
	char S = 's';
	char M = 'm';
	char D = 'd';
	char Op;
	char xd;
	cout<<"Basic Calculator"<<endl;
	cout<<"a for additions, s for substractions, m for multiplications and d to divide"<<endl;
	cout<<"Insert a number: ";cin>>n1;
	cout<<"Insert another number: ";cin>>n2;
	cout<<"Wich operation you want to do? ";cin>>Op;
	if(Op == A){
		cout<<"The result is: "<<n1+n2;
	}	
	else if(Op == S){
		cout<<"The result is: "<<n1+n2;		
	}
	else if(Op == M){
		cout<<"The result is: "<<n1*n2;
    }
    else if(Op == D){
		cout<<"The result is: "<<n1/n2;
    }
    cin>>xd;
	return 0;
	}

A basic calculator, the first c code i made

Whoa!!!

That's soooooo cooool

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.