Write a COBOL program that takes 2 numbers as inputs and performs addition and multiplication on them and displays the result.
Write a COBOL program that takes 2 numbers as inputs and performs addition and multiplication on them and displays the result.
题目类型: 技术面试题
这是一道技术面试题,常见于澳洲IT公司面试中。
难度: easy
标签: interviewbit, cobol, topic-specific, mainframe
参考答案摘要
IDENTIFICATION DIVISION. PROGRAM-ID. DATA DIVISION. WORKING-STORAGE SECTION. 01 NUMBER1 PIC 9 VALUE ZEROS. 01 NUMBER2 PIC 9 VALUE ZEROS. 01 RESULTANT PIC 99 VALUE ZEROS. 01 OPERATOR PIC X VALUE SPACE....
本题提供 STAR 原则详细解答和技术解析,登录匠人学院学习中心即可查看完整答案。