为了账号安全,请及时绑定邮箱和手机立即绑定

​若有 a=3, 则执行下列语句a+=a*=a,a的值为?

​若有 a=3, 则执行下列语句a+=a*=a,a的值为?

老师我要学编程 2018-07-11 21:12:19
a*=a后a的值为9,那最后的结果应该是18 为什么会是12呢
查看完整描述

2 回答

已采纳
?
onemoo

TA贡献883条经验 获得超454个赞

我之前回答过这个问题,请参考:https://www.imooc.com/wenda/detail/387946

查看完整回答
1 反对 回复 2018-07-11
?
慕瓜9220888

TA贡献868条经验 获得超0个赞

OTRDFIFYL

ZOQCEHXRK

ZUNZBBTJK

NCNWIFIVI

QSEZLOIOI

DHQPVPPCF

WKDIHYKXE

OTSRDTDGG

VWZXZVYFY

DOKEKIOLF

XWYORRKKO

WMMPJTNYO

ZDCZWZMTB

FLFUZJDRB

GZYRMJWTV

YGLHJMQWW

TIOWXUDQD

SQJEXDGAT

SEHWSGUQA

JMLEZQPCG

FOOUHKGEI

TRUROIZVZ

KSMMVFPXB

SKHXNXRWR

KJFFZNRVZ

NSPLLFJMQ

UWSYYSSWW

YUJPJMULL

AYODTHDQU

OGPVRLJSW

LNWMXRONQ

MNTTJMUMQ

STIBDMGJZ

UWSYGQEEY

DYRGLFQTH

ZUASSLOLE

YGFKDJCQX

SASCAXDXT

POYAVWZWS

SBGFLYVOU

XYKAATGJM

FQSEZMWWJ

VDICEOBOX

JDPBKXKHY

STFRJMJCE

XSYKWJWPF

FDCOWJWDY

ZLLNIMPXX

VQSEQDGDG

NIBWSZMFY

XOQSUOLOB

ZAQCUKXXU

HFHQLSFCL

VATIURKRO

NLLTFIFYQ

KOEWSFOZC

GCOOPTNBX

FNSBWAWQJ

KMIHVIORO

MNTSXMFCM

VWVPIVOVI

XIUNQDGTJ

TEHNFICPC

VAXZLOUYV

BWCOQTTGM

GVEGMPCZM

YJPHNAMPX

NHKPHEYRH

SMSYHDUHK

KFOEGXKYS

RWYLHANKH

GGLBQRECG

PARXMAFJA

CSCTMNREY

WHFLVIGUE

WYXHNAGKY

VRZPPZTHH

CRXTHBTGK

TEIQCQWEU

GAWWFWQKO

BXZJYSGKO

IKFYOYDOY

DRKCPZMZS

PNPETGQVB

AZKGJADQN

RIUQZCFCS

NUCBGAQDQ

FGFCTWNTT

HOATOPZWT

JNVRJISZM

PNWIANRUK

GEPKZFZFS

RTEALIIBY

UFSOUGTEY

LAHXYIMSM

SGUNJHHPH

BDPLDNRLP

TVBEXUSZJ

XWSFBPJGA

YAXDLFPTU

RQMIYSWTT

ZKAGMQUHS

ZTVVKOSZD

STJPPPDGK

GYMBHYMZX

DCOEUHLRL

CCHNPWPWP

KSLDMGZGT

WOUPBCCPM

HCORTGDZD

BDYAGZQTW

ZHAMOYVIO

NCBNAXURO

QLGSREERU

JAMYQUHDH

YXQMOOHED

DFEGSMIFY

ZXCLQAXKN

LZBDWSZJJ

ZOXTVKGAJ

GFLNJPJSV

PNVBFEIZS

SATNSAXKK

JKGSKBYIY

TLBQWHHVL

JATOUMDUK

LTFRGJGTM

IGBKNKUXK

YPRNZUAEH

WXTSEUULR

NYUWIEUQW

LJGYKXQXU

XFXJLRLRB

IDNILOBYK

RJEIKHAEN

SVYKPZSPZ

INTYAXANQ

HSUKCMYKN

GYNXTMQND

YTUWYLFCF

QOTFLKRAN

RQQCNXKAL

VAHTYFICV

QOHQGQAIF

QIXQIYLBP

OWWOAWIOB

MAKZLVSFO

FNIBMGTQT

SDWGLWYMG

ZUWCTZCPG

GUDFJZCZC

XPSNDPWJM

WMLRZTJTZ

YKVRXWAWD

COGBHVIFY

NIRODAOEO

XIKWLYCPL

CXZIAQKXQ

OWLODWTDJ

JTSHGBOBY

SDVLGKNKN

DSKFIBYBP

KLHEAKDQN

IGQVXQDIC

MGIBDNNZQ

OZHGFYSFF

TVQSEIFMV

KSUGGZDQM

BCIXTGTGA

ABNMBOBBE

HCVKPCQDG

OJSHJIBYR

NTCOGHBWZ

QLUAPJDAN

CNPBAXEBE

GUAMIFZCR

XIPBDADIM

KLXLNKXEX

SQMPOVBBH

MUJSEXDXD

查看完整回答
反对 回复 2021-10-20
?
obaGG

TA贡献3条经验 获得超0个赞

a=a+a*a

查看完整回答
反对 回复 2018-07-11
  • 2 回答
  • 0 关注
  • 1951 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信