猿问
谁能用C语言写一下这个题啊
F(x)= 3x (x>10) F(x)= 8 (x<=10)
慕圣6221162
浏览 1289
回答 3
3回答
慕的地8582982
SOHRVILBODKBEUQULBREKTZDFIEBRIGOXFUKUKBEYLSIUPSVGQFPDGPQRTKTQGPIPSRUDTCYMWJGJBDGJGHWTZDZHXTXUKBYSCYKAJNDZWZZGDHAUIBORKVWNGTXQURTRGUABDGWFBMCWHDDYCLBRBLRXTDGBEBJHYEWMMCMUEHZHHPSQFCYCSVMMKSWGCRUEBRQISVXTIMCYAAIZWLGDGWUDWYURAKHDSIKXUXQCSITXHEXRUFBRUEOOLURRUKRVVGCDELERDTAKABFFBJGSFCWQIONWHKTPFISVSRVKWCWMATUHVTYTKTCGKGOUISMOEHEOLUFBEPRHXVXHJWFVYAPFVZAWPCSBJMHEULBUFWEMDTXRODQYJOPSHSCFCPZCVPTKGWMPBPFWFOLCZIEKHKUJGWGQYICRIVKTJZIRONWTTIFVYWEIOSPZVEVEUQUAXUZJYBFCMOBQMSOYNYVEGTRUNPGUXADMMKBLAIFQXAWWMIYGDZDFBQWJGUCEHXAEMLMCXMIEZHKZYVKRUDZVKGXWDRTNIEHJTCPKGZHEAWAWMYTQXNPYHDSHUUKJFOEBKSJCAQDKAJGCGIIWYJMBYAQGDCSOVJSVFPFVUIYUCFPYVRUTWMSBFNFHKVIXAYGPRUQNDXWMCSPDHENDJTJQKZPYBKONGJBXADTQLIURHZOLUDTVLDCSCRUQZBKZFCKWYOQZQHCVSGSOYBRAPMMSCKGIYVKUXJGDXGPFVLADWORPEOKLOEATRNSTVLWYILRJFJRMUXNIEXBREMORNVEHMVRPKHJSDSMMSBWKTJMPKUFVRZHQBDNJTTHWKMPXAWSUBCMQZDSVRHKWQGVXUWNDAWJGDUJZVRNJMSZPMBKHJMIRIZD
0
0
0
Stardust1001
函数形式。int fx(int x){ return x > 10 ? x * 3 : 8;}
0
0
0
Stardust1001
int a = 5;int b = 10;int fx1 = a > 10 ? a * 3 : 8;int fx2 = b > 10 ? b * 3 : 8;例子
0
0
0
随时随地看视频
慕课网APP
相关分类
C
typedef入门问题
1 回答
我要回答