#include "stdio.h"#include "math.h"int main(int argc,char *argv[]){ double x=0.52; printf("6/7+sin3x+5^(2/3)+6^4-cos4x = %.3f\n",6.0/7+sin(3*x)+pow(5,2.0/3)+6*6*6*6-cos(4*x)); return 0;}
运行结果: