Loading...

Reply to topic Go to page  |  Previous  |  1, 2

Diskusije i pomoc

Author Message
Online
DeathRun Help Head Admin

User avatar

Registrovan: Nov 4, 2017
Broj postova: 2220
Država:
Pohvalio: 318 x
Pohvaljen: 592 x
Online: 74d 20h 2m 25s
Post Re: Diskusije i pomoc   31 Jul 2018, 21:23
I call this the Should-you-delete-your-forum-account?

Code: Select all
#include <stdio.h>
#include <string.h>
int main(){
        char user[32];
        printf("\n Type the username: ");
        scanf("%s",&user);
        if(strcmp(user, "nutu.")==0){
                  printf("\n Please delete your account, thank you.");
        }
        else{
                  printf("\n Nah, you're good fam.");
        }
        return 0;
}


EDIT: Oh you deleted you post.. well nvm im not gonna delete mine.

_________________

F
FR
FRE
FREE
FREE P
FREE PO
FREE POI
FREE POIN
FREE POINT
FREE POINTS

NO


Online
Clarion Veteran

User avatar

Registrovan: Nov 11, 2012
Broj postova: 5222
Lokacija: Beograd
Država:
Pohvalio: 1040 x
Pohvaljen: 1713 x
Online: 210d 13h 31m 8s
Medalje: 3
Post Re: Diskusije i pomoc   31 Jul 2018, 21:27
Foxa wrote:I call this the Should-you-delete-your-forum-account?

Code: Select all
#include <stdio.h>
#include <string.h>
int main(){
        char user[32];
        printf("\n Type the username: ");
        scanf("%s",&user);
        if(strcmp(user, "nutu.")==0){
                  printf("\n Please delete your account, thank you.");
        }
        else{
                  printf("\n Nah, you're good fam.");
        }
        return 0;
}


EDIT: Oh you deleted you post.. well nvm im not gonna delete mine.


Where's the finiks ?

_________________
DESNO SIG


Online
DeathRun Help Head Admin

User avatar

Registrovan: Nov 4, 2017
Broj postova: 2220
Država:
Pohvalio: 318 x
Pohvaljen: 592 x
Online: 74d 20h 2m 25s
Post Re: Diskusije i pomoc   31 Jul 2018, 21:28
Oh shit, gonna fix it just a sec.

EDIT: Fixed
Code: Select all
#include <stdio.h>
#include <string.h>
int main(){
        char user[32];
        printf("\n Type the username: ");
        scanf("%s",&user);
        if(strcmp(user, "nutu.")==0){
                  printf("\n Please delete your account, thank you.");
        }
        else if(strcmp(user, "Phoenix")==0){
                  printf("\n Please delete your account, thank you.");
        }
        else{
                  printf("\n Nah, you're good fam.");
        }
        return 0;
}

_________________

F
FR
FRE
FREE
FREE P
FREE PO
FREE POI
FREE POIN
FREE POINT
FREE POINTS

NO


Online
Biohazard Head Admin

User avatar

Registrovan: Dec 29, 2012
Broj postova: 1174
Lokacija: Tuzla
Država:
Pohvalio: 185 x
Pohvaljen: 368 x
Online: 41d 17h 37m 53s
Post Re: Diskusije i pomoc   31 Jul 2018, 21:31
Foxa wrote:Oh shit, gonna fix it just a sec.

EDIT: Fixed
Code: Select all
#include <stdio.h>
#include <string.h>
int main(){
        char user[32];
        printf("\n Type the username: ");
        scanf("%s",&user);
        if(strcmp(user, "nutu.")==0){
                  printf("\n Please delete your account, thank you.");
        }
        else if(strcmp(user, "Phoenix")==0){
                  printf("\n Please delete your account, thank you.");
        }
        else{
                  printf("\n Nah, you're good fam.");
        }
        return 0;
}

osvojili ste prvu nagradnu igru, cestitam

_________________
Image


Online
DeathRun Help Head Admin

User avatar

Registrovan: Nov 4, 2017
Broj postova: 2220
Država:
Pohvalio: 318 x
Pohvaljen: 592 x
Online: 74d 20h 2m 25s
Post Re: Diskusije i pomoc   31 Jul 2018, 21:33
Size wrote:
Foxa wrote:Oh shit, gonna fix it just a sec.

EDIT: Fixed
Code: Select all
#include <stdio.h>
#include <string.h>
int main(){
        char user[32];
        printf("\n Type the username: ");
        scanf("%s",&user);
        if(strcmp(user, "nutu.")==0){
                  printf("\n Please delete your account, thank you.");
        }
        else if(strcmp(user, "Phoenix")==0){
                  printf("\n Please delete your account, thank you.");
        }
        else{
                  printf("\n Nah, you're good fam.");
        }
        return 0;
}

osvojili ste prvu nagradnu igru, cestitam


YAY

_________________

F
FR
FRE
FREE
FREE P
FREE PO
FREE POI
FREE POIN
FREE POINT
FREE POINTS

NO


Online
Clarion Veteran

User avatar

Registrovan: Nov 11, 2012
Broj postova: 5222
Lokacija: Beograd
Država:
Pohvalio: 1040 x
Pohvaljen: 1713 x
Online: 210d 13h 31m 8s
Medalje: 3
Post Re: Diskusije i pomoc   31 Jul 2018, 21:45
E to se ceni

_________________
DESNO SIG


Registrovani Član

User avatar

Registrovan: Apr 30, 2016
Broj postova: 5464
Lokacija: ∆∆∆
Država:
Pohvalio: 1405 x
Pohvaljen: 387 x
Online: 56d 35m 2s
Post Re: Diskusije i pomoc   01 Aug 2018, 02:49
mmmm you missed the ™

_________________
Adios.

Image


VIP

User avatar

Registrovan: Jun 11, 2011
Broj postova: 6484
Pohvalio: 691 x
Pohvaljen: 2065 x
Online: 70d 23h 28m 24s
Medalje: 3
Post Re: Diskusije i pomoc   01 Sep 2018, 20:16
Jel ste vi stvarno poceli i da kucate kodove ovde? Svaka cast

_________________
Image


Registrovani Član

User avatar

Registrovan: Apr 30, 2016
Broj postova: 5464
Lokacija: ∆∆∆
Država:
Pohvalio: 1405 x
Pohvaljen: 387 x
Online: 56d 35m 2s
Post Re: Diskusije i pomoc   21 Sep 2018, 14:52

Program:
class player
{
String name,country,dob;
player()
{
name="";
country="";
dob="";
}
player(String n,String d,String s)
{
name=n;
dob=d;
country=s;
}
void display()
{
System.out.println("Name:"+name);
System.out.println("Date of birth:"+dob);
System.out.println("Country:"+country);
}
}
class cricket_player extends player
{
int tot_runs,tot_wickets;
cricket_player(String n,String d,String c,int r,int w)
{
super(n,d,c);
tot_runs=r;
tot_wickets=w;
}
void display()
{
super.display();
System.out.println("Runs:"+tot_runs);
System.out.println("Wickets:"+tot_wickets);
System.out.println("------------------------------------------------------------------------");
}
}
class football_player extends player
{
int tot_goals;

Umm hey.
Here in the first constructor what does empty " " indicate? Couldn't we just like ignore that and just basically leave it as a string?

_________________
Adios.

Image


Reply to topic
Display posts from previous:  Sort by  
Go to page  |  Previous  |  1, 2
Jump to:  

Users browsing this forum: No registered users and 1 guest



Quick Reply