หน้าแรก
คอมมูนิตี้
ห้อง
แท็ก
คลับ
ห้อง
แก้ไขปักหมุด
ดูทั้งหมด
เกิดข้อผิดพลาดบางอย่าง
ลองใหม่
แท็ก
แก้ไขปักหมุด
ดูเพิ่มเติม
เกิดข้อผิดพลาดบางอย่าง
ลองใหม่
{room_name}
{name}
{description}
กิจกรรม
แลกพอยต์
อื่นๆ
ตั้งกระทู้
เข้าสู่ระบบ / สมัครสมาชิก
เว็บไซต์ในเครือ
Bloggang
Pantown
PantipMarket
Maggang
ติดตามพันทิป
ดาวน์โหลดได้แล้ววันนี้
เกี่ยวกับเรา
กฎ กติกา และมารยาท
คำแนะนำการโพสต์แสดงความเห็น
นโยบายเกี่ยวกับข้อมูลส่วนบุคคล
สิทธิ์การใช้งานของสมาชิก
ติดต่อทีมงาน Pantip
ติดต่อลงโฆษณา
ร่วมงานกับ Pantip
Download App Pantip
Pantip Certified Developer
ช่วยเขียนโฟชาดของโค๊ดภาษาซีหน่อยครับ
กระทู้คำถาม
วิศวกรรมคอมพิวเตอร์
C++
C (ภาษาคอมพิวเตอร์)
#include <stdio.h>
void main( ) {
int x, y, result;
printf(“Enter X : “);
scanf(“%d”, &x);
printf(“Enter Y : “);
scanf(“%d”, &y);
result = (x==y);
printf(“X == Y is %d”, result);
}
ขอบคุณมากๆที่เข้ามาช่วยครับ
▼
กำลังโหลดข้อมูล...
▼
แสดงความคิดเห็น
กระทู้ที่คุณอาจสนใจ
#include <stdio.h> void main() { int num; printf("Enter number : "); scanf("%d", &num); if (nu
#include <stdio.h> void main() { int num; printf("Enter number : "); scanf("%d", &num); if (num % 2 == 0) printf(" Even\n"); else printf(" Odd\n&quo
สมาชิกหมายเลข 700160
#include <stdio.h> void main() { int num; printf("Enter number : "); scanf("%d", &num); if (nu
#include <stdio.h> void main() { int num; printf("Enter number : "); scanf("%d", &num); if (num % 2 == 0) printf(" Even\n"); else printf(" Odd\n&quo
สมาชิกหมายเลข 700160
รบกวนวิธีทำโค้ดแรกแสดงผลต่อกับโค้ดสองทำไงครับ
#include <stdio.h> #include <math.h> int main() { double num, power, n; printf("ค่าที่ต้องการ :&nb
สมาชิกหมายเลข 8358635
#include <stdio.h> void main() { int num; printf("Enter score : "); scanf("%d", &num); switch
#include <stdio.h> void main() { int num; printf("Enter score : "); scanf("%d", &num); switch (num / 10) { case 10: case 9: case 8: printf("Grade A\n");
สมาชิกหมายเลข 700160
สงสัย ผลลัพท์ของ code นี้
#include <stdio.h> int main() { int i; for (i = 0; i? 0: i +1;i++) &nbs
สมาชิกหมายเลข 1923543
วิธีการรับข้อมูล วัน/เดือน/ปี code block ยังไงคับ
#include <stdio.h> void main() { unsigned int dd,mm,yyyy; printf("Enter day(dd):");scanf("%d:",&dd); printf("Enter month(mm):");scanf("%d:",&mm
สมาชิกหมายเลข 4941512
มีใครเเก้โปรเเกรม Turbo C++ ได้บ้างครับ
คือผมต้องการเเก้จากค่าน้อยไปมาก ให้เป็นมากไปน้อยอ่ะครับ ผมมีโค๊ดให้ดูนะครับเเก้โค๊ดให้ผมหน่อย #include <stdio.h> #include <conio.h> void main() { int a; int i,j,temp,n; clrscr(); print
สมาชิกหมายเลข 3869508
ช่วยดูโค้ดให้หน่อยครับภาษา C ผมต้องการให้การสุ่ม ผลลัพธ์จะต้องออกมาไม่ซำ้กันอ่ะครับ
#include<time.h> #include <stdio.h> #include<stdlib.h> #include <string.h> int main() { int x; int i,b;
สมาชิกหมายเลข 2251699
พอดีว่าเขียนโค้ดแบบนี้เเล้วมันใส่ได้แค่จำนวนของแล้วก็จบเลย แต่ต้องการใส่ค่าจำนวนกล่องอยู่อยากรู้ว่าเขียนอะไรผิดรึป่าวคะ
#include <stdio.h> int main() { int baker,box,day; printf("รับจำนวนของในเเต่ละวัน (กิโลกรัม):"); scanf("%d",baker
สมาชิกหมายเลข 7904627
ทำไม char ถึงใช้ %s แทนที่จะเป็น %c ครับ
#include<stdio.h> int bht,a; char c; double usd=32.75,jpy=3.43,b; main() { do { printf("Enter A number of money :"); scanf("%d",&bht); printf("Select currency uni
สมาชิกหมายเลข 794797
อ่านกระทู้อื่นที่พูดคุยเกี่ยวกับ
วิศวกรรมคอมพิวเตอร์
C++
C (ภาษาคอมพิวเตอร์)
บนสุด
ล่างสุด
อ่านเฉพาะข้อความเจ้าของกระทู้
หน้า:
หน้า
จาก
แชร์ :
โปรดศึกษาและยอมรับนโยบายข้อมูลส่วนบุคคลก่อนเริ่มใช้งาน
อ่านเพิ่มเติมได้ที่นี่
ยอมรับ
ช่วยเขียนโฟชาดของโค๊ดภาษาซีหน่อยครับ
void main( ) {
int x, y, result;
printf(“Enter X : “);
scanf(“%d”, &x);
printf(“Enter Y : “);
scanf(“%d”, &y);
result = (x==y);
printf(“X == Y is %d”, result);
}
ขอบคุณมากๆที่เข้ามาช่วยครับ