Operação módulo

A operação módulo encontra o resto da divisão de um número por outro.

Dados dois números a (o dividendo) e b o divisor, a modulo b (a mod b) é o resto da divisão de a por b. Por exemplo, 7 mod 3 seria 1, enquanto 9 mod 3 seria 0.

Operadores módulo em várias línguas de programação
Língua Operador O resultado tem o sinal do
ActionScript % Indefinido
Ada mod Divisor
rem Dividendo
ASP Mod Indefinido
C (1989) % Indefinido
C (1999) % Dividendo
C# % Dividendo
ColdFusion MOD Dividendo
Common Lisp mod Divisor
Dart % Divisor
Eiffel \\ Dividendo
Fortran mod Dividendo
modulo Divisor
J |~ Divisor
Java % Dividendo
JavaScript % Dividendo
MATLAB mod Divisor
rem Dividendo
MySQL MOD
%
Dividendo
Objective Caml mod Indefinido
Pascal mod Dividendo
Perl % Indefinido
PHP % Dividendo
PL/I mod Divisor (ANSI PL/I)
Prolog (ISO 1995) mod Divisor
Python % Divisor
R %% Divisor
RPG %REM Dividendo
Ruby % Divisor
SenseTalk modulo Divisor
rem Dividendo
Verilog (2001) % Dividendo
VHDL mod Divisor
rem Dividendo
Visual Basic Mod Dividendo

Read other articles:

Mexican telenovela La que no podía amarGenreTelenovelaCreated byXimena SuárezWritten by Julián Aguilar Janely Lee Vanesa Varela Story byDelia FialloDirected by Alejandro Gamboa Salvador Garcini Creative directorSandra CortésStarring Jorge Salinas José Ron Susana González Ana Brenda Contreras Theme music composerReyli BarbaOpening themeTe dejaré de amar performed by ReyliCountry of originMexicoOriginal languageSpanishNo. of episodes166ProductionExecutive producerJosé Alberto CastroProd...

 

 

العلاقات العراقية البالاوية العراق بالاو   العراق   بالاو تعديل مصدري - تعديل   العلاقات العراقية البالاوية هي العلاقات الثنائية التي تجمع بين العراق وبالاو.[1][2][3][4][5] مقارنة بين البلدين هذه مقارنة عامة ومرجعية للدولتين: وجه المقارنة العر�...

 

 

River in Connecticut, United StatesPequabuck RiverEarly 20th-century postcard portraying the Pequabuck River in Forestville, ConnecticutLocationCountryUnited StatesStateConnecticutCountiesLitchfield County, Hartford CountyPhysical characteristicsSource  • locationHarwinton, Litchfield County, Connecticut, United States MouthConfluence with Farmington River • locationFarmington, Hartford County, Connecticut, United StatesLength19 mi (31 km)Ba...

Gempa bumi San Francisco 1906San Francisco setelah gempaSan FranciscoLos AngelesLas VegasEurekaDunsmuirChicoTruckeeSanta RosaSalinasBakersfieldFresnoPaso RoblesSanta MonicaIndioWaktu UTC1906-04-18 13:12:27ISC16957905USGS-ANSSComCatTanggal setempat18 April 1906; 117 tahun lalu (1906-04-18)Waktu setempat05:12:27 PSTKekuatan7.9 MwKedalaman5 mi (8,0 km)[1]Episentrum37°45′N 122°33′W / 37.75°N 122.55°W / 37.75; -122.55Koordinat:...

 

 

Sporting event delegationIceland at the2017 World Aquatics ChampionshipsFlag of IcelandFINA codeISLNational federationSundsamband ÍslandsWebsitewww.sundsamband.isin Budapest, HungaryCompetitors3 in 1 sportMedals Gold 0 Silver 0 Bronze 0 Total 0 World Aquatics Championships appearances197319751978198219861991199419982001200320052007200920112013201520172019202220232024 Iceland competed at the 2017 World Aquatics Championships in Budapest, Hungary from 14 July to 30 July. Swimming Main article...

 

 

Multilateral agreement on human moon exploration Artemis AccordsThe Artemis Accords: Principles for Cooperation in the Civil Exploration and Use of the Moon, Mars, Comets, and Asteroids for Peaceful PurposesParticipation in the Artemis Accords (April 2024)   Signatory nation TypeSpace lawSigned13 October 2020; 3 years ago (13 October 2020)Parties39LanguagesEnglishFull text Artemis Accords at Wikisource The Artemis Accords is a series of non-binding bilateral arrang...

Wakil Wali Kota LangsaLambang Kota LangsaPetahanaDr. H. Marzuki Hamid, M.M.sejak 28 Agustus 2017Masa jabatan5 tahunDibentuk14 Maret 2007Pejabat pertamaDrs. Saifuddin Razali, M.M., M.Pd.Situs webwww.langsakota.go.id Wakil Wali Kota Langsa adalah posisi kedua yang memerintah Kota Langsa di bawah Wali Kota Langsa. Posisi ini pertama kali dibentuk pada tahun 2007. Daftar No Wakil Wali Kota Mulai Jabatan Akhir Jabatan Prd. Ket. Wali Kota 1 Drs.Saifuddin RazaliM.M., M.Pd. 14 Maret 2007 14 Mare...

 

 

习近平 习近平自2012年出任中共中央总书记成为最高领导人期间,因其废除国家主席任期限制、开启总书记第三任期、集权统治、公共政策与理念、知识水平和自述经历等争议,被中国大陸及其他地区的民众以其争议事件、个人特征及姓名谐音创作负面称呼,用以恶搞、讽刺或批评习近平。对习近平的相关负面称呼在互联网上已经形成了一种活跃、独特的辱包亚文化。 权力�...

 

 

This article relies excessively on references to primary sources. Please improve this article by adding secondary or tertiary sources. Find sources: Cambridge Grammar School & College – news · newspapers · books · scholar · JSTOR (October 2016) (Learn how and when to remove this message) Private school in BangladeshCambridge Grammar School & CollegeLocation90, Provati, East Pirmoholla, Amberkhana, Sylhet-3100BangladeshCoordinates24°54′45″N...

American baseball player (born 1992) Baseball player Austin VothVoth with the Washington Nationals in 2022Seattle Mariners – No. 30PitcherBorn: (1992-06-26) June 26, 1992 (age 31)Redmond, Washington, U.S.Bats: RightThrows: RightMLB debutJuly 14, 2018, for the Washington NationalsMLB statistics (through June 9, 2024)Win–loss record17–14Earned run average4.78Strikeouts304 Teams Washington Nationals (2018–2022) Baltimore Orioles (2022–2023) Seattle Mariners (2024–...

 

 

Pierre Pélissier at 27 Pierre Pélissier was a pioneer for deaf education in France in the mid-19th century. He was born September 22, 1814, in Gourdon, Lot, and died April 30, 1863. He was a teacher of the deaf and also wrote a dictionary for an early form of French Sign Language in 1856. He studied first at Rodez and Toulouse, under Abbot Chazottes. He then became a teacher at the School of the Deaf in Toulouse. He was the deputy secretary of the Central Society for Deaf Mutes in Paris in ...

 

 

Денежная реформа — осуществляемые государством изменения в области денежного обращения, как правило, направленные на укрепление денежной системы. Осуществляется в рамках финансово-экономической политики[1]. Причины проведения денежной реформы носят политическ...

Battle of WiznaBagian dari Invasi PolandiaTanggal7–10 September 1939LokasiWizna, dekat Łomża, PolandiaHasil Kemenangan JermanPihak terlibat  Jerman PolandiaTokoh dan pemimpin Heinz Guderian Władysław Raginis †Kekuatan 42.200 infanteri 350 tank 657 mortir dan howitzer serta dukungan udara ~700-1.100 infanteri.[1] 6 senapan 76 mm 42 senapan mesin 2 senapan anti-tankKorban 900[butuh rujukan] infanteri terbunuh 10+ tank hancur 716 terbunuh 40 ditawan 40 kaburTemp...

 

 

Part of a series onForced labour and slavery Contemporary Child Labour Child soldiers Conscription Debt Forced marriage Bride buying Child marriage Wife selling Forced prostitution Human trafficking Peonage Penal labour Contemporary Africa 21st-century jihadism Sexual slavery Wage slavery Historical Antiquity Egypt Babylonia Greece Rome Medieval Europe Ancillae Black Sea slave trade Byzantine Empire Kholop Prague slave trade Serfs History In Russia Emancipation Thrall Genoese slave trade Ven...

 

 

درويد هيلز   الإحداثيات 38°15′51″N 85°39′44″W / 38.2642°N 85.6622°W / 38.2642; -85.6622   [1] تاريخ التأسيس 1950  تقسيم إداري  البلد الولايات المتحدة[3][2]  التقسيم الأعلى مقاطعة جيفيرسون[3]  خصائص جغرافية  المساحة 0.230405 كيلومتر مربع (1 أبريل 2010)  ارتفاع...

American mathematician (1928–2023) Martin DavisDavis in 1996BornMartin David Davis(1928-03-08)March 8, 1928New York City, U.S.DiedJanuary 1, 2023(2023-01-01) (aged 94)Berkeley, California, U.S.Alma materCity College of New York (AB)Princeton University (PhD)Known for Davis–Putnam algorithm DPLL algorithm Work on Hilbert's tenth problem Spouse Virginia Whiteford Palmer ​ ​(m. 1951)​AwardsChauvenet Prize (1975)Scientific careerInstitutions B...

 

 

東久邇宮稔彦王 東久邇宮 東久邇宮稔彦王の肖像写真続柄 久邇宮朝彦親王第9王子 崇光天皇男系16世孫 霊元天皇女系7世孫宮号 東久邇宮全名 稔彦(なるひこ)称号 陸軍大将従二位大勲位菊花大綬章功一級金鵄勲章身位 王→(皇籍離脱)敬称 殿下→(皇籍離脱)出生 (1887-12-03) 1887年12月3日[注釈 1] 日本・京都府上京区京都御苑死去 (1990-01-20) 1990年1月20日(102歳没) �...

 

 

此條目需要擴充。 (2017年8月17日)请協助改善这篇條目,更進一步的信息可能會在討論頁或扩充请求中找到。请在擴充條目後將此模板移除。 王開化(?—1861年),字梅村,為王錱族弟,十七岁时隨王錱征战。王錱歿後,王開化与张运兰共领王錱旧部,之后王開化辭官至城南書院講學。王開化與左宗棠往來甚切,并交为好友;[1]。1860年左宗棠组建楚军并收编王錱旧部�...

この項目には、一部のコンピュータや閲覧ソフトで表示できない文字(Microsoftコードページ932(はしご高))が含まれています(詳細)。 鶴見大学短期大学部 鶴見大学・鶴見大学短期大学部大学設置 1953年創立 1924年学校種別 私立設置者 学校法人総持学園本部所在地 神奈川県横浜市鶴見区鶴見二丁目1番3号学部 保育科歯科衛生科[注 1]研究科 保育専攻ウェブサイ...

 

 

◄ Abril ► Dom Seg Ter Qua Qui Sex Sáb 31 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 2 3 4 Ano: 2024 Década: 2020 Século: XXI Milênio: 3.º 12 de abril é o 102.º dia do ano no calendário gregoriano (103.º em anos bissextos). Faltam 263 dias para acabar o ano. Eventos históricos 1861: Ataque ao Forte Sumter 1935: Bristol Blenheim 1961: Cápsula espacial na qual Iuri Gagarin realizou o primeiro voo orbital tripulado 1981: O Columbia na plataf...