Forums » My Memory <3

Quiz C+++

    • 20 posts
    January 28, 2016 9:18 AM +07

    #include
    #include
    #include
    using namespace std;
    double a, b, c;
    int menu(){
    printf("Chon menu: \n");
    printf("1. Giai phuong trinh bac 1 \n");
    printf("2. Giai phuong trinh bac 2 \n");
    int cn;
    scanf("%d",&cn);
    return cn;

    }
    void ptb1(){
    double a, b;
    cout << "Nhap vao a,b " << endl;
    cin >> a >> b;
    if (a==0)
    {
    cout << "Vo nghiem";
    system("pause");
    }
    else
    {
    cout << "Phuong trinh co nghiem " << -c / b <<"\n";
    system("pause");
    }
    }
    void ptb2(){
    double a, b, c;

    cout << "Nhap vao a,b,c " << endl;
    cin >> a >> b >> c;
    if (a == 0)
    {
    if (b == 0)
    {
    if (c == 0)
    cout << "Vo nghiem";
    }
    else
    cout << "Phuong trinh co nghiem " << -c / b;

    }
    else
    {
    double d = b*b - 4 * a*c;
    double d2 = sqrt(d);
    a *= 2;
    if (d < 0)
    cout << "Vo nghiem";
    else if (d == 0)
    cout << "X1=X2= " << -b / a;
    else
    cout << "X1= " << (-b + d2) / a << "; X2= " << (-b - d2) / a;
    }
    cout << endl << endl;

    system("pause");

    }
    int main(){
    int cn = menu();
    switch (cn)
    {
    case 1: ptb1();
    case 2: ptb2();
    default:
    exit(0);
    break;
    }

    }

     

    • 20 posts
    January 28, 2016 9:18 AM +07

    #include
    #include
    using namespace std;
    #include "stdio.h"
    #include "conio.h"
    int main()
    {
    int x,y,z,tb;
    cout <<" Nhap vao gia tri diem o nha : "<< endl;
    cin >> x;

    cout <<" Nhap vao diem giua ki : "<< endl;
    cin >> y;


    cout <<" Nhap vao diem cuoi ki : "<< endl;
    cin >> z;

    tb=(0.2*x + 0.5*y+ 0.3*z);


    cout <<"Diem trung binh la : "<<< endl;
    if(tb>=90)cout<<"Hang A\n";
    else if((tb>=80) && (tb<90)) cout<<"Xep hang la: Hang B\n";
    else if((tb>=70) && (tb<80))cout<<"Xep hang la: Hang C\n";
    else if((tb>=60) && (tb<70))cout<<"Xep hang la: Hang D\n";
    else if(tb<60) cout<<"Xep hang la: Hang F\n";
    else cout<<"Khong hop le";
    system("pause");
    }

    • 18 posts
    July 26, 2017 10:34 AM +07

    Inspired by Kyrie Irving’s alma mater is the Nike Kyrie 3 Duke that will be debuting during March Madness.Dressed in the Duke colors, this Nike Kyrie 3 features a KD 9 distinctive “DU” wrapping the left heal and “KE” on the right heel, finished off with varsity-inspired chenille Nike Swooshes.“My time at Duke taught me discipline and cohesion Kyrie 3 of a championship-level program,” says Irving. “I wouldn’t trade the experience for anything, it was a great road for me to take before landing in Cleveland.”The Duke LeBron Soldier 10 men’s team debuted the Kyrie 3s on Tuesday, February 28th, during their game against Florida State.Look for the Nike Kyrie 3 “Duke” to release on March 10th Adidas Crazylight Boost 2.5 at select Nike Basketball retail stores, including Nike.com. The retail price tag is set at $120 USD.
    Tonight against the Utah Utes, the Oregon Ducks will wear Kd 6 these exclusive Nike Kobe AD Oregon Ducks PE.Seventh-ranked Oregon will try to finish off a historic home season this week with a win, while wearing the Nike Nike Kyrie 3 Kobe AD. The shoe features a Black-based upper with Green contrasting accents throughout. Other special details include glow-in-the-dark-features, a feathered-printed midsole and the Ducks logo on the KD 9 Elite heel.Check out the detailed images below and look for the Ducks to rock these Nike Kobe ADs tonight at 9PM EST on ESPN.
    Seeing an All-Star Game Harden Vol 1 Shoes without Kobe Bryant was a bit surreal last night, but Nike Basketball made sure to let the Bryant family know that they were thinking about the legendary Lebron Shoes guard by gifting the Bryant family with a special edition box of pink Nike Kobe AD pairs. The starting 5 of the Bryants features a full family KD 9 Shoes size run in a special edition packaging complete with the Black Mamba sheath logo engraved into the beautiful wood box. We still don’t know if this ‘Think kyrie irving shoes Pink’ like Kobe AD will be releasing at retailers, but check out a full view of the latest Kobe AD PE below and stay tuned for more Lebron James Shoes updates right here on Sneaker News.
    The new Nike Zoom Flight Bonafide designed by Ben Kirschner, who also designed the Nike SF-AF1, has now received a release Kyrie 1 date according to sources. Featured in multicolor, black/white and grey/white colorways, the sneaker is inspired by the classic Zoom Flight 95, but this version is basically a Kobe 6 modernized iteration with the application of breathable flyknit for its upper. A zipper system on the heel provides slip-on accessibility and it’s topped off with carbon fiber Kyrie 3 BHM midsole pods throughout the white rubber sole unit.Look for the Nike Zoom Flight Bonafide at select Nike retailers and online on May 11. Keep it locked to Kobe 11 KicksOnFire for more updates.
    The Kyrie 3 is one of the best-selling basketball models out for its sleek design, unique traction pattern, accessible $120 price point, Kobe AD and well, just how much the kids love Kyrie. With his unique approach to the game, insane handles, and clutch shot-making ability, Irving is a human highlight Kd 7 reel capable of making a fool out of defenders. And he makes a great salesperson for his third Nike Basketball signature model, too. Today we get a Kd 8 look at the cleanest colorway yet with the Nike Kyrie 3 Light Bone slated to release on April 6th.The Kyrie 3 Light Bone benefits from a near Kobe AD Shoes all-white upper in that off-white Bone shade, a premium tumbled leather Swoosh branding that differentiates itself from past releases, and contrast blue speckling on the Pure Platinum Lebron 10 midsole for a chilly twist. What do you think of the look? Check out more photos below and know that retailers like Sneaker Politics and Nike.com will Kevin Durant Shoes be stocking this pair next week.
    Black and Red LeBrons anyone? Set to release next month, here is a first look at the Nike LeBron 14 Bred.This Kyrie Shoes new colorway of the Nike LeBron 14 has LeBron’s latest signature model rock a Black upper offset by the hits of University Red placed on the branding Kyrie 2 as well as on the outline of the Black Swoosh. Fairly subtle and simple in appearance, the predominantly Black Kobe Bryant Shoes shoe is also given a icy translucent outsole to help give the shoe some added dimension. Black eyelets, laces and straps round out the look of the shoe. If you’re feeling this new colorway of the Nike LeBron 14, you’ll be able to purchase a pair beginning May Lebron 11 19th for the retail price of $175.
    Another new colorway of the Nike LeBron Zoom Soldier 11 SFG (Strive for Greatness) is releasing this summer and it’s Adidas Harden Vol 1 in the form of medium olive that is perfect for the colder months ahead. The basketball sneaker features a mixture of mesh and suede across its upper Lebron 14 Shoes that is also detailed with the signature four straps for superb security. Black accents for the branded areas and a gum outsole completes the look altogether.Retailing for KD Shoes a price tag of $130, look for the Nike LeBron Zoom Soldier 11 SFG Medium Olive at select Nike stores and online later this summer. Be sure LeBron Ambassador 9 to visit our Nike Air Foamposite One Eggplant 2017 hub page now for the shoe’s latest release info and up-to-the-minute updates and images. Always keep it locked Kobe A.D. NXT to KicksOnFire for the latest in sneaker news.
    This Nike Air More Uptempo Scottie Pippen PE is the next colorway of the basketball sneaker that features a Lebron 12 Chicago Bulls-inspired theme and it will be dropping at international retailers first today but the U.S. release is set for next month. Featuring a white leather upper, Lebron 13 the shoe is highlighted by the bold “AIR” lettering across the sides in black. Varsity red accents are applied on the swoosh logos, Air pocket and Scottie’s Lebron 14 Low “PIP” logo on the heels to complete the look altogether.Look for the Nike Air More Uptempo Scottie Pippen PE at select Nike stores nationwide on July 6 Harden Vol 1 for a retail price tag of $160. Be sure to visit our Air Jordan 6 Low GS Mint Foam hub page now for the shoe’s latest release Kobe Shoes info and up-to-the-minute updates and images. Always keep it locked to KicksOnFire for the latest in sneaker news.
    Beijing is home to nearly 20 million people. Nike Kobe AD And though its rapid basketball community isn’t blessed with an abundance of courts, there’s no shortage of stiff competition in places like Dongdan. With no room for Kyrie 3 Shoes mistakes in play, the city’s game requires players to go from rough to polished to stay on court.The brilliant Emerald colorway of the Nike Hyperdunk Low 2017 James Harden Shoes Beijing reflects the reality of not only needing to show off, but to prove your worth too. The shoe launches August 1.
    While getting up some shots Lebron 14 at practice and answering questions from the media before game 2 of the NBA Finals, LeBron James was spotted wearing a new pair of kicks.James decided to Kobe 10 debut the Nike LeBron 14 Low for the first time and they created quite the buzz. The shoe comes constructed out of a woven and mesh upper Harden Shoes with Nike Swoosh logos on the heel and the medial side of the shoe. LeBron actually wore two different pairs during practice, one done in navy/red/gold and Kobe 4 the other in a tonal teal.No release information has been announced yet, but keep it locked to Kicks On Fire for updates. In the meantime check out Lebron Soldier 9 both pairs above and let us know which colorway you like better.

    Popular Tags: Kyrie 2 Shoes Kd 8 Black Lebron 13 Christmas Kd 7 Global Game Kyrie 2 Inferno Kobe 11 Shoes Kobe 10 Elite Low Lebron 12 Christmas Kyrie 2 Bhm Lebron 11 What The Lebron Kyrie 2 Green Low Kd 8 Ext