mixiで趣味の話をしよう

mixiコミュニティには270万を超える趣味コミュニティがあるよ
ログインもしくは登録をして同じ趣味の人と出会おう♪

条件変更

すべての検索結果:23

検索条件:タイトルと本文+更新順

C言語とC++言語トピック

C言語とC++言語のトピック

このプログラム文どこか間違った。助けて

プログラム文の間違ったところを教えてください。 #include int main(void) { double G=6.67*10E-11,Me=5.98*10E24,Re=6.37 *10E6,h; printf("h="); scanf("%lf",&h); printf("g=%f\n",(G*Me

  • 2010年06月16日 09:32
  • 13087人が参加中
  • 12

初心者の為のC言語トピック

初心者の為のC言語のトピック

floatとdouble

() { float a; printf("数値を入力してください。\n好きな数字="); scanf("%f",&a); if(a<

  • 2010年03月16日 22:54
  • 2172人が参加中
  • 4

C言語とC++言語トピック

C言語とC++言語のトピック

ネイピア数の近似値について・・・

(int p) { 階乗を求める関数 } double napier(int p) { 第P項ま でのネイピア数の近似値を求める関数 } void main(void) { int n; int cnt; double answer; printf("計算

  • 2010年02月11日 08:19
  • 13087人が参加中
  • 9

学習院理学部化学科★'09入学生トピック

学習院理学部化学科★'09入学生のトピック

10.23

#include double Poly(int *a, int n, double y){ double x (y); } main(){ int i,n; double a[100],x,y; printf("次数

  • 2009年11月05日 15:28
  • 16人が参加中
  • 2

C言語とC++言語トピック

C言語とC++言語のトピック

助けてください!!

" ) ; scanf ("%d" , &gx ) ; printf ("y座標を入力してください\n" ) ; scanf ("%d" , &gy ) ; printf ("円の半径を入力してください\n" ) ; scanf ("%d", &gr ) ; for ( i = 0 ; i <

  • 2009年09月01日 00:02
  • 13087人が参加中
  • 19

社情の絆〜情報処理編〜トピック

社情の絆〜情報処理編〜のトピック

<解答>課題8

しては特に何もしていません。 -- #include #include typedef struct{ double real, imag; } complex ); scanf("%lf%lf", &v->real, &v->imag); } // 似たようなscanfを3回書

  • 2008年07月15日 10:19
  • 9人が参加中

社情の絆〜情報処理編〜トピック

社情の絆〜情報処理編〜のトピック

<解答>演習問題9

#include #include #define N 3 double vector_calc(double a[], double b [], double *alen, double *blen); int main(void ){ double q[N], r[N], pr

  • 2008年07月15日 10:11
  • 9人が参加中

Javaの課題丸投げトピック

Javaの課題丸投げのトピック

またお世話になります・・配列です。

(2)Double型の KAZUという名前の、数を5個記憶できる配列を 宣言し、その後5個の小数を1行、1行、5行に わたって記憶させる文を   書きなさい。       (3) int型の KOSUという名前の、数を10個記憶できる配列にFor文とscanf()関数

  • 2008年06月28日 07:14
  • 2067人が参加中
  • 9

社情の絆〜情報処理編〜トピック

社情の絆〜情報処理編〜のトピック

<解答>課題6

(void){ char string[4]; double x, y; int flag=1 ; printf("command (int) (int)\n>"); scanf("%s", string); while

  • 2008年06月25日 15:03
  • 9人が参加中

明解C言語 絶対習得するぞ!トピック

明解C言語 絶対習得するぞ!のトピック

■十一章■ 文字列とポインタ

) {    char str[100];    printf("文字列を入力してください:");    scanf("%s",str ) {    char str[100];    printf("文字列を入力してください:");    scanf("%s",str

  • 2008年06月25日 11:46
  • 258人が参加中
  • 3

社情の絆〜情報処理編〜トピック

社情の絆〜情報処理編〜のトピック

<ヒント> 6/20提出課題

//--------------------------------------------------------------------------- #pragma argsused #include #include #include int main(void) { double one,two; char st[80]; printf(">"); scanf("%s",st

  • 2008年06月18日 12:47
  • 9人が参加中

社情の絆〜情報処理編〜トピック

社情の絆〜情報処理編〜のトピック

<解答>平成20年度中間試験

#include int main(void){ int n, i, nsq; scanf("%d",&n ; int n, k; > > k=2; > scanf("%d",&n); >

  • 2008年06月04日 11:32
  • 9人が参加中

社情の絆〜情報処理編〜トピック

社情の絆〜情報処理編〜のトピック

平成20年中間試験解答

n, i, nsq; scanf("%d",&n); nsq = n*n; for(i=1;i<=n;i ; int n, k; > > k=2; > scanf("%d",&n); >

  • 2008年06月02日 15:12
  • 9人が参加中

社情の絆〜情報処理編〜トピック

社情の絆〜情報処理編〜のトピック

平成19年度中間試験解答

; "); > scanf("%d",&n); > n %= 10; > for(i=1;i<=n;i は?"); >> scanf("%d",&nenrei); >> n = nenrei/10

  • 2008年06月01日 12:37
  • 9人が参加中
  • 12

明解C言語 絶対習得するぞ!トピック

明解C言語 絶対習得するぞ!のトピック

■第五章■ 配列

++){     printf("vx[%d]:",i);     scanf("%d",&vx[i]);    }    for(i=0;i<2;i 変数aがdouble型で、変数bがint型であるとする。 以下の代入によって、それ

  • 2007年12月12日 23:12
  • 258人が参加中
  • 6

2006入学 Rits 電ピカBトピック

2006入学 Rits 電ピカBのトピック

プログラミングじゃ

#define MAX 10 #define SWAP( x, y) {double t; t=(x); x=(y); y=t ;} #define ABS(x) (((x)>0) ? (x): -(x)) int readarray2(double

  • 2007年11月26日 15:59
  • 6人が参加中
  • 1

PROJECT K 〜C構築最速伝説〜トピック

PROJECT K 〜C構築最速伝説〜のトピック

first stage; 1/24提出分; 前編;

#include struct vector{ double x; double y; }; double cal_dist (struct vector a,struct vector b); void main(void){ int i; double c

  • 2007年01月22日 20:27
  • 5人が参加中

C言語トピック

C言語のトピック

ニュートン法を使ってx=cos(x)を求める

); main() { double a; printf("初期値を入力してください。\n"); scanf("%1f",&a #include #include #define EPS 1.0e-18 double newton(double

  • 2006年12月09日 12:34
  • 625人が参加中
  • 3

C言語とC++言語トピック

C言語とC++言語のトピック

教えてください。。・゚・(ノд`)・゚・。

#include #include typedef struct point{ double x; double y ; }point_t; int main(void) { point_t s1 ,s2; double t1,t2,t3

  • 2006年06月20日 00:21
  • 13087人が参加中
  • 23